Boost logo

Boost Users :

From: Bo Peng (ben.bob_at_[hidden])
Date: 2007-02-01 14:28:59


Dear list,

I am building boost cvs. For my specific application, I need to build
only static libraries with -fPIC option. I tried command

> bjam -j4 --prefix=/usr "-sBUILD=release <runtime-link>static <cxxflags>-fPIC" --with-serialization --with-iostreams install

But I still get .a and .so libraries under /usr/lib. I used -n option
(an advise I get from one of my previous posts) and the building
commands are like:

    "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
-Wall -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/serialization/build/gcc-3.4.6/release/link-static/binary_wiarchive.o"
"libs/serialization/src/binary_wiarchive.cpp"

so no -fPIC is passed. I tried bjam -h, but get even more confused
because I am told..

-n Don't actually execute the updating actions.

I guess cvs/bjam handles these options totally differently than boost
1.33.1, but how can I get the latest information?

Many thanks in advance.
Bo


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