http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49811
--- Comment #3 from Nathan <nn.dm55 at gmail dot com> 2011-08-07 23:13:31 UTC --- I was trying to make it prefer static libraries to shared libraries. (In reply to comment #2) > "-shared -static" does not make sense really. Are you trying to compile a > libary that contains all other libraries compiled staticly? If so then > "-shared -static" makes sense. It does not produce an application but rather > a > shared library.