Boost logo

Boost-Build :

Subject: [Boost-build] Some target-os tweaks
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-06 12:31:12


FYI, I've checked in this patch to trim the list of possible values of target-os:

        https://svn.boost.org/trac/boost/changeset/49615

It included things that were obviously never tested at (vms, ultrix), and it had
quite a weird thing about sun. There were 3 values -- "sun", "sunos" and "solaris".
To the best of my knowledge, bjam's OS variable can be either "sunos" or "solaris",
never "sun". Futher, "sunos" can be only reported on very old sun operating systems,
last released in 1992. So, I've killed all but "solaris".

Further, gcc is checking for "sunos" right not to set threading flags, and a user
has reported this not to work. It appears that the check for sunos was originally
added by John, in Boost.Build V1, in 2002, see:

     svn log -r 13122 https://svn.boost.org/svn/boost/trunk/boost/tools/build/v1/gcc-tools.jam@20431

I imagine that was relevant back then, but now SunOS seems to be really history. I've
switched gcc to check 'solaris' with this commit:

        https://svn.boost.org/trac/boost/changeset/49616

Let me know if this changes break anything for anybody.

Thanks,
Volodya


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