JonY <jo...@users.sourceforge.net> writes: >> Could the compiler enforce "If you link to static libgcc, you should also >> link libstdc++ statically" or at least warn about it? >> It would save users such mysterious bugs resulting from having two copies >> of ligcc around. > > Unfortunately, no, binutils doesn't have any notion of what the input > files to the linker mean.
g++ knows everything and is what users invoke for linking. > Doesn't stop users from doing it though. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public