
bjam -j4 --prefix=/usr "-sBUILD=release <runtime-link>static <cxxflags>-fPIC" --with-serialization --with-iostreams install
I spent another fruitless day on this seemingly trivial task. I have tried bjam --v2 --toolset=gcc cxxflags=-fPIC --with-serialization --with-iostreams link=static --prefix=/usr -j6 -d+2 install according to http://mail.python.org/pipermail/c++-sig/2006-October/011520.html but -fPIC is not added to the commands, e.g. "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -DBOOST_ALL_NO_LIB=1 -I"." -c -o "bin.v2/libs/serialization/build/gcc-3.4.6/debug/link-static/utf8_codecvt_facet.o" "libs/serialization/src/utf8_codecvt_facet.cpp" Is this a bjam bug? Can anyone show me the correct command? Many thanks in advance. Bo