From: John Maddock (john_at_[hidden])
Date: 2003-12-30 05:58:28
> > After googling around for a while I found another solution, add -Wl,"-("
> > in the beginning of the list of libraries and -Wl,"-)" at the end. This
> > will make linker to repeatedly scan a group of libraries between the -(
> > and -) marks. Not sure what versions of linker support groups though.
> > Please find attached a trivial patch implementing grouping.
> Hmm... ld manual says this switch can considerable slow down linking. Do
> observe any such effect? This solution is easier, so if it has no
> we can use it instead of writing some code.
A word of caution: those switches only work if you are using the GNU ld,
there are several gcc ports that use the platform's native linker, in which
case those switches would cause the linker to exit with a bunch of
"unrecognised argument" errors.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk