|
Boost-Build : |
Subject: Re: [Boost-build] Help building 64-bit boost libs on Mac OS X!
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-10 12:35:30
On Friday 10 October 2008 20:01:39 fischerandom wrote:
>
> Hi,
> I want to build boost 1.36 under Mac OS X 10.5, using the GNU g++ compiler
> (4.01).
> I am not using Xcode for this, but Xcode 3.0 is also installed on the
> system.
>
> I have already built boost 1.36 like this on my Mac:
> # ./configure
> --with-libraries=date_time,filesystem,iostreams,program_options,serialization,system,thread
> # make install
> ./tools/jam/src/bin.macosxx86/bjam --user-config=user-config.jam
> --prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib
> --includedir=/usr/local/include --with-date_time --with-filesystem
> --with-iostreams --with-program_options --with-serialization --with-system
> --with-thread install
You need to pass
architecture=x86 address-model=64
in addition to the above to bjam, or you may pass
architecture=combined address-model=64
to build a fat 64 bit binary. I think OSX supports fat 32-and-64 binaries,
but Boost.Build does not support those.
HTH,
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