How does ld link against library archives?

Ian Lance Taylor ian@airs.com
Mon Dec 12 17:59:00 GMT 2005


"David Carter-Hitchin" <david@carter-hitchin.clara.co.uk> writes:

> If compiling with GCC on another platform, say Solaris or HP-UX, can
> anyone say if it is better, worse or no different if the native linker is
> used
> instead of GNU ld?

Again, this question is more appropriate for binutils@sourceware.org.
If you pick a particular platform, and ask there, you may get an
answer.

In general the GNU linker and the native linker don't have exactly the
same features for any given platform.  Where it matters for gcc, the
--with-gnu-ld configure option may make a difference.

Ian



More information about the Gcc-help mailing list