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


Hi,

 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
./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,
Alfredo


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net