Boost logo

Boost-Build :

From: Oliver.Kowalke_at_[hidden]
Date: 2007-08-31 03:31:59


Hello,
I'll try to compile boost 1.34.1 on HP/UX 11.11 (acc 3.x last version on
this platform - not able to compile boost).

bjam --prefix=/opt/boost-1_34_1 --with-thread --toolset=gcc link=shared

I get following linker error which was already adressed in
(http://thread.gmane.org/gmane.comp.lib.boost.build/15577) on 15. May:

gcc.link.dll
bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/libboost
_thread-gcc40-mt-1_34_1.so.1.34.1
ld: (Warning): Incorrect '-' in symbol pattern
"libboost_thread-gcc40-mt-1_34_1.
so.1.34.1". Ignoring pattern
"libboost_thread-gcc40-mt-1_34_1.so.1.34.1".
ld: Unrecognized argument: --start-group
Fatal error.

This is caused by the fact, that in the configuration of gcc in
tools/build/v2/tools/gcc.jam still the linker options of gnu ld are
set.But on HP/UX you have to use the hpux linker options - it doesn't
know '--start-group' etc.

How can I change this linker-type=hpux is not recognized.

Regards, Oliver


Boost-Build 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