From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-05-15 10:37:09
>> Oliver.Kowalke_at_[hidden] wrote:
>>> I tried to install boost-1.34 on HP/UX 11.11 with gcc-4.1.0.
>>> I get only static libraries installed - shared libraries
>> are missing.
>>> It seams that the creation shared libraries is not set as default.
>>> bjam --prefix=/opt/boost --toolset=gcc --link=shared install
>>> Doesn't work.
>> Oliver -
>> By chance, does this work?
>> bjam --prefix=/opt/boost --toolset=gcc link=shared install
> No it doesn't work (bjam --prefix=/opt/boost --toolset=gcc --with-thread
> link=shared install):
> ...failed gcc.link.dll
> ...skipped <p/opt/boost/lib>libboost_thread-gcc41-mt-d-1_34.so.1.34.0
> for lack of
> ...skipped <p/opt/boost/lib>libboost_thread-gcc41-mt-d.so for lack of
OK, so the building tries to work, the problem is...
> /usr/ccs/bin/ld: Unrecognized argument: --start-group
> /usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
That the gcc toolset in Boost.Build, afaict, doesn't have handling for
linker. It shouldn't be hard to add such support, as we already handle a
few other linkers.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk