This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Linking with multiple libraries
- From: "Gary Partis" <gary at partis dot co dot uk>
- To: <binutils at sourceware dot org>
- Date: Mon, 29 Dec 2008 23:42:43 -0000
- Subject: Linking with multiple libraries
Hi all,
I have a situation where an object file requires code from a library file I
created, and that library requires further code from another library file,
also created by me.
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...
If I make the call from the object file, everything is perfect!
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?
Thanks in advance,
--
Gary Partis
Partis Computing