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 local project libraries


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






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