Larry Evans <cppljevans <at>
suddenlink.net> writes:
>
> On 10/15/2015 01:24 PM, Andrey Semashev wrote:
> > On 15.10.2015 21:13, Louis Dionne wrote:
> >> Hi,
> >>
> >> Still attempting to setup Boost.Build for Hana, I find myself unable to
> >> specify the compiler to be used by `b2` on the command line. The system
> >> compiler is then used by default, which does not work because I need to
> >> test on recent compilers.
> [snip]
> > You can use the --toolset option:
> >
> > bjam --toolset=gcc ...
> > bjam --toolset=gcc-4.7 ...
> > bjam --toolset=clang ...
> >
> > Bjam will look for different versions of compilers installed on the
> > system and invoke the proper compiler based on the toolset name. You
> > only have to have lines like these in your user-config.jam:
> >
> > using gcc ;
> > using clang ;
> >
> >
> In case clang is not in normal places,
> this part of a user-config.jam would work:
>
have to write the file in the right place, and then call b2. I'm trying to
run Boost.Build from Travis, and so far it hasn't been easy. Anyway, I got