Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-04-20 22:53:55


Walter Landry <wlandry_at_[hidden]> writes:

> [1] For example, I can not figure out how to get it to use g++-4.1
> instead of the default g++ (which is 4.0). This is really
> unacceptable. It shouldn't take me more than 30 seconds to figure
> that out.

Boost.Build v2:

        # ~/user-config.jam
        using gcc : : path/to/g++-4.1 ;

makes g++-4.1 your default gcc. Of course you can also register your
versions separately:

        using gcc : 4.0 : g++ ;
        using gcc : 4.1 : path/to/g++-4.1 ;

couldn't be much easier.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk