linking with local project libraries
Nick Clifton
nickc@redhat.com
Mon Dec 24 16:56:00 GMT 2007
Hi Petru,
> I'am dealing with following problem:
> I've got program P which depends on library A which depends on library B...
If library A needs library B then any program P which uses library A is also
dependent upon library B. Hence P either needs to know about library B and
explicitly include information on how to locate it when P is linked or else
library B needs to be placed in a standard location where it can be found by
the linker. Putting B in a non-standard location and then not telling the
linker about it just does not work.
Cheers
Nick
More information about the Binutils
mailing list