
1) You are not using bjam features, but Boost.Build (a language written in bjam).
A bit confused, but I guess this does not matter. Just to make sure, I get boost/cvs, go to tools/jam/src, run build.sh, and copy bin.linux/bjam to the top source directory...
2) According to the The Boost.Build (draft) doc (from boost more) I would try:
bjam toolset=gcc/cxxflags=-fPIC --with-serialization (and so on ...)
I have actually tried this, using bjam toolset=gcc/cxxflags=-fPIC --with-serialization --with-iostreams link=static --prefix=/usr -j6 -d+2 install I get commands like: "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/xml_wgrammar.o" "libs/serialization/src/xml_wgrammar.cpp" No -fPIC. Bo