Boost logo

Boost-Build :

Subject: Re: [Boost-build] Specifying g++-4.0 version with darwin on bjam's command-line?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-09 14:05:59


AMDG

Boris Dušek wrote:
> I am using the darwin toolset to build boost, and want to use g++-4.0
> explicitely instead of the default g++-4.2 on my system. How can I do that
> on bjam's command-line directly? I saw somewhere instructions on setting
> this up in a project-config.jam file, but I would prefer to be able to do
> this on command-line. I tried
>
> ./bjam toolset=darwin-4.0
>
> but to no avail.
>

Once you initialize the toolsets in a config file

using darwin : 4.2 : g++-4.2 ;
using darwin : 4.0 : g++-4.0 ;

you can select the toolset you want from the command line.
The default will be the first one initialized.

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