Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-25 08:06:58


On Tuesday 25 April 2006 02:36, Ian Fasel wrote:
> On darwin, "gcc-4.0 -arch ppc64" seems to be all that is needed -- I
> also had to pass "-arch ppc64" to the linker as well. I managed to
> build boost-1-33-1 this way and have used it for some 64-bit
> projects, but some modules failed to build completely. In particular
> the testing framework didn't build (or maybe it just failed to link,
> I can't remember).

Then, you should be able to run Boost regression tests are documented here:

  https://zigzag.cs.msu.su/boost.build/wiki/BoostRegressionsV2

by putting the following to your user-config.jam:

  using darwin : 4.0 : :
         <compileflags>"-arch ppc64" <linkflags>"-arch ppc64" ;

  using python : ........ ;

> Do I also need e.g., some other defines, to let the preprocessor know
> that this is being built in 64-bit mode (so that e.g., macros for 64-
> bit clean-ness get turned on)?
>
> If it would be helpful I can come back with more detailed info about
> the problems I ran into, if anyone could help me debug it.

I think it would be helpful. I've no experience with OSX, but others on Boost
list might suggest solutions for the problems you have.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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