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

Allow users to choose a C compiler toolchain on windows #11160

Open
Tracked by #11161
gridbugs opened this issue Nov 26, 2024 · 2 comments
Open
Tracked by #11161

Allow users to choose a C compiler toolchain on windows #11160

gridbugs opened this issue Nov 26, 2024 · 2 comments

Comments

@gridbugs
Copy link
Collaborator

To effectively use dune as a replacement for opam on windows we might need a way of letting users choose which C compiler to use for compiling native code.

@Leonidas-from-XIV
Copy link
Collaborator

Can we detect that from the environment? E.g. if the user has MSVC, use that, if the user has Clang, use that?

@nojb
Copy link
Collaborator

nojb commented Nov 26, 2024

Can we detect that from the environment? E.g. if the user has MSVC, use that, if the user has Clang, use that?

Note that on Windows, it is relatively common to have more than one toolchain installed (eg MSVC and Mingw64) so that choosing the right toolchain may require user input.

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

3 participants