
5 Feb
2007
5 Feb
'07
10:13 p.m.
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