Boost logo

Boost Users :

Subject: [Boost-users] [bjam] boost compilation with cxxflags -fPIC
From: alfC (alfredo.correa_at_[hidden])
Date: 2010-07-08 22:35:19


 Please, can anybody tell me how to compile Boost (e.g. 1.43) with the
-fPIC as cxxflag:

typicially I do

./bootstrap --prefix=$HOME/usr
./bjam install

There are some threads that give answers but in none of them it is
clear exactly what is the command we need to write.

I tried with

CFLAGS=-fPIC ./bjam
./bjam cxxflags=-fPIC

and still the result seems not to use -fPIC

Thank you,

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