-shared && -static
Daniel Jacobowitz
drow@false.org
Thu Jul 28 13:32:00 GMT 2005
On Thu, Jul 28, 2005 at 09:29:40AM -0400, Jeff Baker wrote:
> 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?
Then don't link it against any other shared libraries. It's still not
static.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Binutils
mailing list