-
Notifications
You must be signed in to change notification settings - Fork 70
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
Zarith compilation fails in 32bit OCaml switches on a 64bit host. #38
Comments
I wonder how this should be detected under the 32bit OPAM. |
I see that a similar https://forge.ocamlcore.org/tracker/?func=detail&atid=1095&aid=1539&group_id=243 report was closed. Indeed, it may make sense for Zarith not to have to care about incorrect host settings; I have little clue on cross-compilation but then I wonder what the Does it make sense to have a 32bit OCaml and not set arch to i686? |
OK. PR #56 changes slightly the configure to detect this situation (based on the host and actual size of OCaml words). |
Fix for #38: configure detects 32bit OCaml switch on 64bit host
Ubuntu 18.04, opam 2.0, switch is 4.07.0+32bit:
The text was updated successfully, but these errors were encountered: