-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
conf-cc? #26590
Comments
Afaik this was missing since the presence of opam and an ocaml compiler should guarantee the presence of a c compiler. Have you encountered situations where this was not the case? |
On Windows, it seems that there may be |
@dra27 do you know if this is a bug in windows? |
It's not a bug with Windows per se, it's the assumption - it's not portable to assume the C compiler is called "cc"! My instinct (that is to say my strong opinion) is that randomly symlinking these things in opam is a bad idea (also bear in mind that "symlinking" is not a guaranteed thing in Windows, so it can also mean "shimming"). The mingw-w64-shims package does this exceptionally for mingw-w64 under Cygwin only (with both MSVC and mingw-w64 accessed via MSYS2 this is done much more naturally by adding an appropriate But, two practical thoughts:
|
Would it be possible to add a conf- package for the presence of any C compiler addressable by
cc
, a la https://github.com/ocaml/opam-repository/blob/master/packages/conf-c%2B%2B/conf-c%2B%2B.1.0/opam ?The text was updated successfully, but these errors were encountered: