-
Notifications
You must be signed in to change notification settings - Fork 368
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
pass information about C compiler to OCaml switch #3017
Comments
This is not entirely unrelated to Windows-stuff for opam 2 (#2930, and some stuff following it) |
In general wouldn't it be easier to allow the user to specify the configure flags for the ocaml compilation in some way? |
got a similar case; can't install a musl switch (without adding extra symlinks etc) since it assumes |
Would this help with cross compiling too? |
what's the status on this? I've had issues installing certain opam package (eigen) with gcc due to internal compiler errors. Resorted to manually symlinking clang to coerce opam into using that. Having the ability to say |
7 years later and this issue seems to have been fixed somewhere along the line (opam 2.0.0 probably).
If it still doesn't work, specifically for the compiler packages in opam-repository it should be something to change in opam-repository instead of opam (e.g. https://github.com/ocaml/opam-repository/blob/9f26a2181d2f46e23b62061679bdddb92684f204/packages/ocaml-base-compiler/ocaml-base-compiler.5.2.1/opam#L71) |
please see https://discuss.ocaml.org/t/troubles-after-compiler-installed-via-opam/676/5 -- OCaml contains some magic to locate your
gcc
, and opam does (atm) not allow to pass the C compiler to a switch.The text was updated successfully, but these errors were encountered: