Boost logo

Boost-Build :

Subject: Re: [Boost-build] Default toolset in user-config.jam
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-10-23 21:03:03


On 24 October 2013 01:58, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> On 10/23/2013 05:47 PM, Mateusz Loskot wrote:
>> On Linux, I have both GCC and clang installed.
>> How can I specify in user-config.jam that I wish
>> clang to be used as the default toolset?
>>
>> It is, I'd like the sole b2 command to pick clang, without
>> the full command b2 toolset=clang required.
>
>
> Declare clang before gcc. The first
> toolset declared is the default.

Yes, I'd tried that and it didn't work.

I found "using gcc;" in /etc/site-config.jam
that was overriding my user-config,.jam settings.

Thanks,

-- 
Mateusz  Loskot, http://mateusz.loskot.net

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