Hi,
this is the last of the 5 patches from
http://reviews.llvm.org/D11077
I have left the defaults as libgcc and libstdc++ so that this can hit the 3.7 branch :)
This is a fix for 2 options that should be supported in the driver.
Differential D11237
Add support for -rtlib option and -stdlib option to the mingw driver martell on Jul 15 2015, 1:16 PM. Authored by
Details
Hi, this is the last of the 5 patches from http://reviews.llvm.org/D11077 I have left the defaults as libgcc and libstdc++ so that this can hit the 3.7 branch :)
Diff Detail
Event TimelineComment Actions Set libgcc and libstdc++ as default so this can be considered as a fix for the 3.7 branch :)
Comment Actions ping :)
Comment Actions I just added support for Arch Linux to MinGWToolChain.cpp. It appears that all permutations of {"usr" "lib" "lib64" "gcc" gcc-ver Arch } for the mingw include and lib directories actually exist on the various platforms. Anyhow please rebase the patch to the current SVN.
Comment Actions Added a comment regarding libunwind
Comment Actions Changed the default to libgcc_eh so that we can get this merged. We can deal with using a libunwind later. Comment Actions Updated to latest svn. After some hard testing on windows I discovered we do not need to pass the exception library when using libc++.dll because it is a shared library. That is the reason why the code already contains since we don't handle a OPT_static_libgcc equivalent for compiler-rt Please Review Many Thanks Comment Actions I see, your change was better as it was. I put back AddLibGCC and I'm going to commit it like that. Please test it and let me know if it still works, and then we can try to merge to 3.7.
This comment was removed by martell.
Comment Actions Yup looks good to me. |