Boost logo

Boost Users :

Subject: Re: [Boost-users] Setting cxxflags for intel compiler
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2018-08-23 17:35:55

> -----Original Message-----
> From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Steven Watanabe via Boost-users
> Sent: 23 August 2018 15:21
> To: Michalke, Simon via Boost-users
> Cc: Steven Watanabe
> Subject: Re: [Boost-users] Setting cxxflags for intel compiler
> 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"

The use of significant space is bjam /b2 is most unfortunate, but we have it.

But users, including me, despite knowing this, are further confused by bjam silently ignoring anything not understood.

It would be very helpful if some warnings could be given?


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