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

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu Aug 5 22:19:00 GMT 2010


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



More information about the crossgcc mailing list