Boost logo

Boost-Build :

From: Oliver.Kowalke_at_[hidden]
Date: 2007-05-16 08:56:28


> I'm not sure if the code under 'case HP_UX' ever gets
> executed on HP-UX.
> I.e., I'm not sure if "HP_UX" is the correct name for the platform.

Wheter HPUX or HP_UX etc. - it should be removeed or at least add
-pthread for gcc >= 3.x.

> >From one of your earlier postings, it appears that
> -Wl,--start-group is
> >what
> is killing linking on HP-UX. Since there is no case for HP-UX
> in 'switch $(linker)', it looks like 'case gnu' is executed.
> In init, you need to add case for linker on HP-UX. Something like:
>
> if [ os.name ] = HPUX
> {
> linker = hpux ;
> }

Wouldn't work because linker is set by feature.get-values <linker-type>
:
$(options). Your code would only be executed if ! $(linker) is true.

> And in init-link-flags, you need to add case for hpux. Again,
> look at how it is done for osf.

I've problems to understand the files acc.jam and gcc.jam. Both are
different structured.

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