Boost logo

Boost :

Subject: Re: [boost] boost 1.42 - compile toolsset=intel-linux with fPIC
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-02-16 11:44:19


Sören Freudiger wrote:

>> Take a look at project-config.jam -- it already has 'using intel....'.
>> I suggest you remove whatever setting you've made in tools/build/v2/user-config.jam.
>
> But that's especially what I wanna to: add the fPIC flag for the gcc version it works fine!)

Well, just do that in project-config.jam? Or, alternatively, remove project-config.jam --
and have only user-config.jam be used.

>> Further, why are you even trying to use -fPIC. When building shared libraries, -fPIC is used
>> already.
>
> Some of our guys have to link because of certain reasons against the static libs from boost and
> obtain the error boost should be compiled with turned on fPIC flag...

Ok. In that case forcing -fPIC makes sense.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk