![]() |
Boost : |
From: Bo Peng (ben.bob_at_[hidden])
Date: 2007-02-05 00:42:07
> 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
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk