Linking with multiple libraries

Gary Partis gary@partis.co.uk
Tue Dec 30 06:01:00 GMT 2008


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



More information about the Binutils mailing list