Boost logo

Boost-Build :

Subject: Re: [Boost-build] Default toolset in user-config.jam
From: Mauricio Carneiro (carneiro_at_[hidden])
Date: 2013-11-03 11:19:20


Steven,

do you know how to make the Jamroot decide which toolset to use in case
none is specified based on the operating system?

Mauricio Carneiro, Ph.D.
http://www.broadinstitute.org/~carneiro/

On Wed, Oct 23, 2013 at 9:03 PM, Mateusz Loskot <mateusz_at_[hidden]> wrote:

> 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
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



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