How do I link to a shared lib without having that lib's dependencies (the way MS link does)

Ian Lance Taylor ian@airs.com
Wed Aug 13 19:10:00 GMT 2003


Andreas Schwab <schwab@suse.de> writes:

> |> No, there is a link time option also, ``-z now''.  Not every ELF
> |> dynamic linker will support it, but the glibc one does.
> 
> Thanks for the correction, I haven't yet caught up with all the new -z
> options. :-)

In any case ``@code{now} marks the object with the non-lazy runtime
binding'' isn't really a model of clarity for describing what the
option actually does.

Ian



More information about the Binutils mailing list