Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-12-30 06:11:51


John Maddock wrote:
> > > 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
>
> you
>
> > observe any such effect? This solution is easier, so if it has no
>
> drawbacks,
>
> > 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.

Do any of existing V1 toolsets use native linkers?

- Volodya

 


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