Boost logo

Boost-Build :

Subject: Re: [Boost-build] Include / library configuration in site-config.jam
From: Christian Auby (christian_at_[hidden])
Date: 2010-01-06 09:59:27


Can I have both:

using gcc;
using gcc : : arm-none-linux-gnueabi-g++ : <architecture>arm ;

I thought the last "argument" was a definition, not a requirement.

Christian

On 1/6/2010 3:09 PM, Rene Rivera wrote:
> Christian Auby wrote:
>> Were? I can't define it as gcc~arm in user-config.jam as that would make
>> boost have no idea how to use it.
>
> Actually that's exactly what I meant. But I did not mean to rename the
> gcc-arm executable which is what I think you understood. You might want
> something like this in your user-config.jam:
>
> using gcc : 4.0~arm : arm-none-linux-gnueabi-g++ ;
>
> And then you can ask for "bjam gcc-4.0~arm" when building. But the ideal
> way to do this is:
>
> using gcc : : arm-none-linux-gnueabi-g++ : <architecture>arm ;
>
> Then you can build with "bjam gcc architecture=arm" and BBv2 will
> automatically figure out which gcc setup best fits.
>
>


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