Linking with multiple libraries
Nick Clifton
nickc@redhat.com
Tue Dec 30 10:03:00 GMT 2008
Hi Gary,
> All three (object and two library files) are specified in the linker
> command, and it links quite happily.
>
> But when doing a objdump, it says one of the library functions is not
> present - but it exists in the library...
Are you linking against a shared (or dynamic) library ? If so then the
library function will not be present in the executable which is why it
is not showing up in objdump.
> Basically, is it possible to make a call to a function from one library, to
> another library; and have the linker to take care of this?
The linker had taken care of this, you already said so.
Cheers
Nick
More information about the Binutils
mailing list