Boost logo

Boost Users :

Subject: Re: [Boost-users] Setting cxxflags for intel compiler
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-08-23 14:21:07


On 08/23/2018 12:42 AM, Michalke, Simon via Boost-users wrote:
> in order to compile boost I need to tell the intel compiler which gcc
> version to use. I am trying to achive this with a user-config.jam
> using intel-linux : icpc : <cxxflags> -gcc-name=gcc-7 -gxx-name=g++-7 ;
> But none of the flags appear in the compile log. Which syntax am I
> supposed to use to get them working?
As you wrote it, the option is not associated with cxxflags
and is ignored. The option needs to be part of the same
string as <cxxflags> like this:

<cxxflags>"-gcc-name=gcc-7 -gxx-name=g++7"

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at