Boost logo

Boost-Build :

Subject: Re: [Boost-build] Local platform architecture not represented?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-04-25 09:38:37

On Friday 24 April 2009 04:01:00 John Bito wrote:
> I was happily assuming that the OSPLAT variable described in the
> Boost.Jam reference would allow me to set up my build to be sensitive
> to the platform without having logic my Jamfiles (or the script that
> launches bjam). I was disappointed that there doesn't appear to be a
> value for this variable in the build of I bjam I made for Solaris10.
> The executable I downloaded for Windows does provide a value (only if
> I access it using modules.peek : OSPLAT - I still struggle with
> variable scoping). Does this indicate a problem with the way I built
> bjam on Solaris?

What exactly are you trying to test? If host OS, you may use the <host-os>
feature or the OS variable. If the target is, then <target-os> feature.
OSPLAT appears to specify the processor, and I'm not sure how up-to-date
or correct that logic is. It's all in jam.h -- you can check yourself.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at