Boost logo

Boost-Build :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-22 20:35:05


AMDG

Jurko Gospodnetić wrote:
> Would that setup not be cleaner if you did something like this:
>
>> import os ;
>> if [ os.name ] = CYGWIN
>> {
>> using gcc : 3.4.4 : g++ ;
>> using gcc : 4.2.3 : g++-4.2.3 ;
>> using gcc : 4.3.0 : g++-4.3.0 ;
>> }
>
> Then you would make it clear that these toolsets are intended to be
> used only from CYGWIN.

Nope. [ os..name ] is NT because I use a windows build of bjam.
Actually, now that I'm thinking about this again, a better way is to
use the absolute windows path to the compiler. When I do use
a cygwin bjam, it finds a different user-config, BTW.

I had similar trouble with como but this setup seems to work:
using como : 4.3.10.1beta2 : \"$(como-bin)/setup\" "&&" como ;

In Christ,
Steven Watanabe


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