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

See the CrossGCC FAQ for lots more information.


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

[PATCH 0 of 1] Properly link needed libs when using static companion=D=A=9libs


Hello All,

When using static companion libraries, care must be taken to properly
link against required additional libraries. For example, the PPL
library requires symbols from libstdc++ library, which we link
statically as well, and libstdc++ in turn requires symbols from libm.
So we jsut follow the chain. Painfull, but needed...

This was not required until now, as shared library dependencies would
have taken care of that automatically, but static libraries do not have
dependency information, so we have to do it ourselves.


I'm posting to the list before I push, in an attempt to have people
have the opportunity to comment before the change hits the tree, as
any other patch would have had, should it had been sent by an
external submitter. Thanks to Arnaud for suggesting this! ;-)

Regards,
Yann E. MORIN.

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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