Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCamlbuild try to use native plugin on bytecode-only arch #4890

Closed
vicuna opened this issue Oct 12, 2009 · 1 comment
Closed

OCamlbuild try to use native plugin on bytecode-only arch #4890

vicuna opened this issue Oct 12, 2009 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Oct 12, 2009

Original bug ID: 4890
Reporter: gildor
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2011-05-29T10:20:04Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.1
Fixed in version: 3.11.2+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues

Bug description

When trying to build on a bytecode only architecture (e.g. alpha), ocamlbuild try to build myocamlbuild using native library.

The error produce by ocamlbuild is:

Failure: Cannot find "ocamlbuildlib.cmxa" in ocamlbuild -where directory.

OCamlbuild should at least try to build the bytecode version if the native compilation fail.

Regards

@vicuna
Copy link
Author

vicuna commented Oct 12, 2009

Comment author: gildor

The trivial fix is to specifiy "-byte-plugin" when invoking ocamlbuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant