|
Boost : |
From: Oliver.Kowalke_at_[hidden]
Date: 2006-01-02 08:38:54
Hello,
I try to use boost-1.33.1 on HP/UX ('bjam -prefix=/opt/boost
"-sTOOLS=gcc" install') with gcc.
For me it seams that the libraries are NOT tested on HP/UX!
Uname -a: HP-UX drssx248 B.11.11 U 9000/800 888950691 unlimited-user
license
Gcc -v: Reading specs from
/opt/hp-gcc/3.4.4/ilp32/lib/gcc/hppa1.1-hp-hpux11.11/3.4.4/specs
Configured with: /proj/oscp/nightly/gcc/gcc_3_4_4_release/gcc/configure
--enable-languages=c,c++ --enable-threads=posix
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --build=hppa1.1-hp-hpux11.11
--host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11
--prefix=/opt/hp-gcc/3.4.4/ilp32
--with-as=/proj/oscp/nightly/gcc/gcc_3_4_4_release/HP-UX/hppa//opt/hp-gc
c/3.4.4/ilp32/bin/as
Thread model: posix
gcc version 3.4.4
1.) In order to be platform-comnpliant the libraries should have the
extension.
2.) I get linker errors like (please see my email [boost] linker
problem ob HP/UX - wrong extension)
/usr/ccs/bin/ld: Invalid loader fixup in text
space needed in output
file for symbol "__gxx_personality_sj0" in input
file
"/opt/boost/lib/libboost_regex-gcc."
3.) I get runtime segmentation faults if the system tries to load
boost libraries (please see my email [boost] bug in signals library? -
segmentation fault(onlylinked) -> exit(11) called)
Those problems should be fixed if I try boost to compile with:
bjam --prefix=/opt/boost "-sTOOLS=gcc" "-sSUFDLL=.sl" "-sBUILD=debug
release <runtime-link>dynamik <threading>multi <cxxflags>-D_REENTRANT
<cxxflags>-fpic <release><optimization>speed" install
But I get only libboost__<xxx>-gcc-mt-1_33_1.a and
libboost_<xxx>-gcc-mt-d-1_33_1.a libraries. No
libboost__<xxx>-gcc-mt-1_33_1.sl libboost__<xxx>-gcc-mt-d-1_33_1.sl?
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk