Boost logo

Boost-Build :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-05-16 08:23:15


Michael Caisse wrote:

> You can find the jam file for GCC in tools/build/v2/tools/gcc.jam

And you can find the jam file for aCC on HP-UX in
tools/build/v2/tools/acc.jam. You can look at HP-UX Linker options
in acc.jam. In gcc.jam, you can look at conditionalization for osf
(Tru64) as an example.

Btw, there may be a bug in gcc.jam:

  switch [ modules.peek : JAMUNAME ]
  ...
  case HP_UX :

Why is HP_UX and not HP-UX which is what uname(1) returns?
And why is it not HPUX which is what os.name returns?
What should it be?

Thanks,
  Boris

----- Original Message -----
From: "Michael Caisse" <boost_at_[hidden]>
To: "Boost.Build developer's and user's list" <boost-build_at_[hidden]>
Sent: Wednesday, May 16, 2007 3:34 AM
Subject: Re: [Boost-build] Bug in building shared libs on HP/UX (wrong
linker arguments)

> Oliver.Kowalke_at_[hidden] wrote:
>> Hello Michael,
>>
>>
>>> Oliver.Kowalke_at_[hidden] wrote:
>>>
>>>
> <snip>
>>> bjam --prefix=/opt/boost --toolset=gcc link=shared install
>>>
>>
>> I also tried this with the same result/error.
>> I would fix the bjam-linker stuff by myself - I only need a hint in
>> which config file I need to insert the HP-linker options.
>> tutorial on boost.org about bjam v2 doesn't help :((
>>
>> Oliver
>>
> Oliver -
>
> You can find the jam file for GCC in tools/build/v2/tools/gcc.jam
>
> I wish I could be of more help. If you execute bjam with "-d 2" you
> will get to see the commands that are being processed. That will be
> helpful in seeing what the linker is getting told to do.
>
> bjam -d 2 --prefix=/opt/boost --toolset=gcc link=shared install
>
>
> Best Regards -
>
> michael
>
>
>
> --
>
> ----------------------------------
> Michael Caisse
> Object Modeling Designs
> www.objectmodelingdesigns.com
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>


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