|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-01-08 14:37:54
Would anybody care to act on the enclosed notes from Metrowerks about
how our release is configured?
attached mail follows:
Retry...
----- Original Message -----
From: "Ed Swartz" <eswartz_at_[hidden]>
To: "Beman Dawes" <bdawes_at_[hidden]>; "David Abrahams"
<dave_at_[hidden]>
Cc: "Andreas Hommel" <hommel_at_[hidden]>; "Howard Hinnant"
<hinnant_at_[hidden]>
Sent: Thursday, January 08, 2004 10:33 AM
Subject: Re: MW 9.2 configuration [was: 9.2 beta random_test linker failure]
> > Dave Abrahams has contributed a "cwpro9" toolset, including the changes
> you
> > mention. It is checked into the Boost CVS.
>
> I see that the -prefix UseDLLPrefix.h is removed for Pro9. This actually
> can happen in the Pro8 toolset, along with clearing STDLIBS (these are
both
> superceded by using -runtime).
>
> > By the way, Boost has a new <boost/config/auto_link.hpp> header which
> > automates #pragma comment(lib,... for compilers which support it. Right
> now
> > it only supports Borland and Microsoft, but we should be adding
Metrowerks
> > and Intel in the next few days. It is documented at
>
> Sounds good.
>
> BTW, I was looking through the config files for the latest drop and
noticed
> this in boost/config/stdlib/msl.hpp:
>
> #if _MWMT
> #define BOOST_HAS_THREADS
> #endif
>
> _MWMT isn't used anymore. The correct macro is _MSL_THREADSAFE as of
> __MSL__ == 0x8000. Oops!
>
> Oy, this will probably change the results of several of the tests...
>
>
> Also, boost/config/compiler/metrowerks.hpp seems biased towards the
Windows
> release. To be fair, the Mac releases should be supported too -- i.e.
>
> __MWERKS__ == 0x3200 => BOOST_COMPILER_VERSION 9.0
> __MWERKS__ == 0x3201 => BOOST_COMPILER_VERSION 9.1
>
> BTW, these __MWERKS__ -> product version mappings only apply to the Win
and
> Mac desktop products. Maybe for future guard place this mapping section
> under
>
> #if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh)
> ...
> #endif
>
> Thanks,
>
> -- Ed
>
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk