Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-29 03:15:57


Andre Hentz wrote (long time ago):

> >>However on the command line, the libraries appear to be alphabetically
> >>ordered. For example, for cygwin and gcc 3.3.1:
> >> -ladvapi32 -lc -lcygwin -lgcc -lkernel32 -lshell32 -lstdc++ -luser32
> >>
> >>Can I control the ordering in any way?
> >
> > Using the CVS version, yes.
> >
> > lib cygwin : : <name>cygwin <use>gcc ;
> > lib gcc : : <name>gcc ;
>
> I'm afraid the <use> feature is not working for searched libs.

I've comitted a patch which make <use> feature work for searched libs as well.
Due to jam limitation, we can't yet maintain the order between searched or
non-searched libs, but all searched libs should now appear in the right
order.

The patch is a bit experimental, so implementation might change, but I hope
the right ordering will be there forever.

Testing would be much appreciated.

- 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