Boost logo

Boost :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-11-18 01:08:23


David Abrahams wrote:
> Yeah; isn't there a function in os.jam that lets you get that value?

I'm not sure what function you mean. I can use 'os.platform' instead of
'modules.peek : OSPLAT' (I wish I used it in the first place).

Is 'os.platform' the recommended way to determine the platform or there
is a better way?

Thanks,
  Boris

----- Original Message -----
From: "David Abrahams" <dave_at_[hidden]>
To: <boost_at_[hidden]>
Cc: "Vladimir Prus" <ghost_at_[hidden]>
Sent: Saturday, November 17, 2007 5:04 PM
Subject: Re: [boost] [python] patch for python.jam for setting suffix onHP-UX

>
> on Fri Nov 16 2007, "Boris Gubenko" <Boris.Gubenko-AT-hp.com> wrote:
>
>> David Abrahams wrote:
>>> I don't think this is really the recommended way to determine the
>>> platform, is it? Could you check with Volodya?
>>
>> I "stole" it from tools/build/v2/util/os.jam :
>>
>> .platform = [ modules.peek : OSPLAT ] ;
>
> Yeah; isn't there a function in os.jam that lets you get that value?
>
>> I need to distinguish two different architectures of HP-UX: ia64 and
>> PA-RISC.
>>
>> I'm copying Volodya on the reply, in case he does not watch this
>> thread.
>
> OK
>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk