First, you should compile static sfml libs yourself with the compiler you will use for compiling your app.
Second try adding -static-libstdc++ to the linker options.
Greets
I have this same problem, if I only link with -static-libgcc it does nothing
it has to also be linked with -static-libstdc++ to get rid of both DLL dependencies from libgcc_s_dw2-1.dll and libstdc++-6.dll but it makes
the size of the executable increase exponentially,
So my question is. Can I get rid of libgcc_s_dw2-1.dll with out getting rid of libstdc++-6.dll?
Well I sorta can if I link with -static-libgcc alone it adds about 10KB to my executable but it doesn't get rid of the libgcc_s_dw2-1.dll dependency(or the libstdc++-6.dll but w.e).
And code block gives me a weird warning when I only link static with libgcc and not both libgcc and libstdc++.
||warning: auto-importing has been activated without --enable-auto-import specified on the command line.|
||Info: resolving std::cout by linking to __imp___ZSt4cout |
||=== Build finished: 0 errors, 1 warnings ===|
I don't think it has anything to do with SFML libs though
I'm using C::B 10.05 and GCC 4.5