This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking with multiple libraries


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]