Boost logo

Boost-Build :

From: Ian Fasel (ianfasel_at_[hidden])
Date: 2006-04-24 18:36:46


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).

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.

-Ian

On Apr 24, 2006, at 7:06 AM, Vladimir Prus wrote:

> On Saturday 22 April 2006 07:30, Ian Fasel wrote:
>> I'd be glad to be a darwin 64-bit regression test runner, but I don't
>> see how I'd specify a 64-bit testbed. Is it possible for this OS?
>
> Martin Wille did setup 64-bit tests with gcc on Linux, and I
> believe that was
> a matter of using 64-bit enabled gcc. I believe something like -m64
> can also
> trigger 64-bit code generation.
>
> However, I've no idea how this works on Darwin. If you figure out
> how to make
> the compiler produce 64-bit binaries, Boost.Build setup will be
> trivial.
>
> - Volodya
>
> --
> Vladimir Prus
> http://vladimir_prus.blogspot.com
> Boost.Build V2: http://boost.org/boost-build2
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/
> listinfo.cgi/boost-build
>


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