$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2006-04-20 23:22:00
David Abrahams wrote:
> 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.
Well, to be honest, some simple python script, or python-style
function with keyword-arguments calling conventions would be much
more intuitive.
I can't say that I would have thought of the above syntax readily,
I have to admit. FWIW.
Regards,
                Stefan