|
Boost-Build : |
Subject: Re: [Boost-build] Cannot get b2 to use crayc++
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-11-15 03:31:52
Hi Ilja,
-------- Original-Nachricht --------
> Datum: Thu, 15 Nov 2012 10:10:20 +0200
> Von: Ilja Honkonen <ilja.honkonen_at_[hidden]>
> An: steven_at_[hidden], "Boost.Build developer\'s and user\'s list" <boost-build_at_[hidden]>
> Betreff: Re: [Boost-build] Cannot get b2 to use crayc++
> I have to specify the toolset even if there is only one using line in
> user-config.jam:
>
> tar xf boost_1_52_0.tar.bz2
> cd boost_1_52_0/
> ./bootstrap.sh
> echo "using cray : 8.1.1 : CC ;" >> ./tools/build/v2/user-config.jam
> ./b2 --with-test -d2
I fear that gcc is autoconfigured via "project-config.jam" in boost_1_52_0 which is created by bootstrap.sh
My autogenerated project-config.jam contains:
# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! gcc in [ feature.values <toolset> ]
{
using gcc ;
}
project : default-build <toolset>gcc ;
so this will make gcc the default toolset indeed.
Please remove either project-config.jam or the lines cited above from it. And please use --debug-configuration next time, this will print which compilers are detected and configured at which .jam file.
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! juergen.hunold_at_gmx.eu * voice: 0049 4257 300 ! FährstraÃe 1 * fax : 0049 4257 300 ! 31609 Balge/Sebbenhausen * mobil: 0049 178 186 1566 ! Germany
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