Boost logo

Boost-Build :

From: Oliver.Kowalke_at_[hidden]
Date: 2007-05-16 08:51:41


Hello,

I'm wondering because this combination (gcc on 11.1 HP/UX + HP linker)
was working already with boost v1?!

I got linker errors because it doesn't knew options like --start-group
etc.

What I found:

1.) I noticed that in file tools/build/v2/tool/gcc.jam (line 111 -
boost-1.3.4 final release) [ feature.get-values <linker-type> :
$(options) ] returns gnu as linker-type.
On HP/UX 11.11 you can not use the gnu linker you have to use the hpux
linker instead with gcc.
Thatswhy I get linker erros because bjam tries to pass gnu ld options to
hp ld (for instance --start-group).
So there is a need that feature.get-values <linker-type> : $(options)
returns the hpux instead of gnu.
2.) in tools/build/v2/tool/gcc.jam (line 657): gcc supports threads on
HP/UX (at least at version 3.x). So the entry with case HP_UX has to be
removed

Could someone tell me where feature.get-values <linker-type> :
$(options) gets ist data (meaning where is it configured that gnu and
sun are valid)?

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