|
Boost : |
From: Bo Peng (ben.bob_at_[hidden])
Date: 2007-02-05 17:13:45
> I have actually tried this, using
>
> bjam toolset=gcc/cxxflags=-fPIC --with-serialization --with-iostreams
> link=static --prefix=/usr -j6 -d+2 install
>
> no -fPIC is added.
Dear all,
After numerous attempts, I find that link=static somehow disables the
addition of cxxflags=-fPIC. I mean, I am able to get static libraries
built with -fPIC using,
bjam toolset=gcc/cxxflags=-fPIC --with-serialization
--with-iostreams --with-mpi -j6 -d+2 --prefix=/usr install
but *not* with
bjam toolset=gcc/cxxflags=-fPIC --with-serialization
--with-iostreams --with-mpi -j6 -d+2 --prefix=/usr link=static
install
Is this a bjam bug?
Bo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk