Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-05-15 10:37:09


Oliver.Kowalke_at_[hidden] wrote:
> Hello,
>
>> Oliver.Kowalke_at_[hidden] wrote:
>>>
>>> Hello,
>>> 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
>
>> Oliver -
>>
>> By chance, does this work?
>>
>> bjam --prefix=/opt/boost --toolset=gcc link=shared install
>>
>>
>> michael
>
> No it doesn't work (bjam --prefix=/opt/boost --toolset=gcc --with-thread
> link=shared install):
>
> ...failed gcc.link.dll
> bin.v2/libs/thread/build/gcc-4.1.0/debug/threading-multi/libboost_thread
> -gcc41-mt-d-1_34.so.1.34.0...
> ...skipped <p/opt/boost/lib>libboost_thread-gcc41-mt-d-1_34.so.1.34.0
> for lack of
> <pbin.v2/libs/thread/build/gcc-4.1.0/debug/threading-multi>libboost_thre
> ad-gcc41-mt-d-1_34.so.1.34.0...
> ...skipped <p/opt/boost/lib>libboost_thread-gcc41-mt-d.so for lack of
> <p/opt/boost/lib>libboost_thread-gcc41-mt-d-1_34.so.1.34.0...

OK, so the building tries to work, the problem is...

> gcc.link.dll
> bin.v2/libs/thread/build/gcc-4.1.0/release/threading-multi/libboost_thre
> ad-gcc41-mt-1_34.so.1.34.0
> /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