Boost logo

Boost :

From: p.klotz_at_[hidden]
Date: 2005-03-09 05:42:25


> >> There exist a few problems when trying to compile Boost 1.32.0 under
> >> AMD64 with VS.NET 2005:
> >>
> >> * No toolset exists to compile Boost 1.32.0 native on the AMD64
> >> platform (no cross compile). The attached file
> >> vc-8_0-amd64-tools.jam fixes that.
> >>
>
> I think that VS 2005 has a proper header for the intrinsics now, but I
don't
> have access to it at the moment so I can't check. Can you please rewrite

> your patch taking this into account?
>
> BTW there should be no need to introduce InterlockedExchangeBoost, just
use
> _InterlockedExchange in the _WIN64 branch.
>

The attached patch no longer defines InterlockedExchangeBoost(). Compiler
intrinsics are now used for InterlockedExchange when compiling with VC8 or
higher under x86 and AMD64.

The patch works for VC71/x86 (where nothing has changed), VC8/x86 and
VC8/AMD64.

Could you please check in the toolset for VC8/AMD64?

Best regards, Peter.





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