Boost logo

Boost-Build :

Subject: [Boost-build] cxxflags and Intel toolset
From: mm (mmoorkamp_at_[hidden])
Date: 2009-02-06 05:57:00


I am using bjam and boost-build bundled with ubuntu 08/10: Boost.Build
V2 (Milestone 12), Boost.Jam 03.1.16

It appears to me that cxxflags arguments are not passed properly to the
compiler, i.e. this command line

bjam -d+2 cxxflags=" -openmp" --toolset=intel

results in compilation statements like

"icpc" -c -xc++ -O0 -g -fPIC -Ob0 -w1 -pthread
-I"/usr/local/R-2.6.2/include" -I"/usr/local/cuda/include"
-I"/usr/local/include" -I"Gravity/boost" -I"Inversion" -I"ModelBase" -c

also my Jamroot contains

    : requirements <include>/usr/local/include
        <toolset>gcc:<cflags>" -ansi -fopenmp "
        <toolset>gcc:<linkflags>" -fopenmp "
        <toolset>intel:<cxxflags>" -strict-ansi -openmp"

and I can see neither -strict-ansi nor -openmp in the compilation. It
works with gcc

Am I doing something wrong ? Is it a known problem (I haven't seen it on
the list) ? Is it fixed in the latest release ?

Thanks for any help


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at