conda-forge / ctng-compilers-feedstock

A conda-smithy repository for ctng-compilers.
BSD 3-Clause "New" or "Revised" License
12 stars 25 forks source link

C++ libs for mingw - use vc14_runtime? #136

Open h-vetinari opened 3 weeks ago

h-vetinari commented 3 weeks ago

First off, congratulations for getting the mingw compilers off the ground, @isuruf!

In the notes for today's core call, you note:

MinGW UCRT compilers are ready to test

  • gcc and VC are compatible (C only), but gxx is not (different C++ libraries)
  • R and Python use different C++ libraries, so we need to be careful about directly linking across this ecosystem boundary.

I was wondering if there's a fundamental blocker for aligning this with our platform defaults, and thus avoid this boundary in the first place? After all, for clangxx_win-64, we manage to use the windows C++ libraries as well.

We might even be able to reuse msvc-headers-libs / winsdk directly? I'm assuming that R doesn't actually depend on a specific flavour of C++ stdlib (I'd be surprised if it did...).

isuruf commented 3 weeks ago

I was wondering if there's a fundamental blocker for aligning this with our platform defaults, and thus avoid this boundary in the first place?

Yes, g++ only supports libstdc++.