-shared && -static

Jeff Baker jbaker@qnx.com
Thu Jul 28 13:29:00 GMT 2005


I'm getting the following message from ld (2.16).

ntosh-ld: -static and -shared may not be used together

My question is: Why not?  What if I want to create a shared library that
doesn't link against other shared libraries?



More information about the Binutils mailing list