Hi, I'm looking for the best way to distribute binaries for a main exe and several C and C++ plugins separately and I have a few questions about linking libgcc and libstdc++.
Currently, the main exe (a C program) is linked with static-libgcc. Several C libraries that are loaded via LoadLibrary() are linked with static-libgcc too. Is this setup supported? I.e. does libgcc have initialization or shared globals that require it to be always linked dynamically or am I ok to link it statically into multiple shared libraries like that? What happens if I also load a C++ library next? A C++ library will pull in libstdc++ which will pull in a shared libgcc. Am I still on solid ground here? Basically now I have libgcc statically linked into the main exe _and_ dynamically linked from libstdc++. Good or no good? Thank you, Cosmin. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public