-
Notifications
You must be signed in to change notification settings - Fork 409
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
Enabling (use_standard_c_and_cxx_flags) fails when paired with C++ stubs on Windows #8643
Comments
What does |
|
No idea, sorry. What's the version of mingw here? @nojb any idea why mingw doesn't like this option? |
I am far from an expert, but on Windows, my believe that |
the problem is that on Windows with flexlink, it is flexlink that is called as the linker by the compiler, not gcc directly. |
Work around ocaml/dune#8643, but hit ocaml/flexdll#29
Expected Behavior
For
(foreign_stubs (language cxx) ...)
to work on WindowsActual Behavior
Flexlink fails with "Does not know about the
-shared-libgcc
argument"Reproduction
Specifications
dune
(output ofdune --version
): 3.5.0ocaml
(output ofocamlc --version
): 4.14.1The text was updated successfully, but these errors were encountered: