Boost logo

Boost-Build :

Subject: Re: [Boost-build] Help building 64-bit boost libs on Mac OS X!
From: fischerandom (andreas.thyrhaug_at_[hidden])
Date: 2008-10-10 18:41:05


Thank you Vladimir! This helped!
I did exactly this:
First I cleaned up my current installed boost (32-bit) build with:
# /usr/local/boost_1_36_0
# make clean
then I removed old files in /usr/local/lib and /usr/local/include

Then configured boost with:
# /usr/local/boost_1_36_0
# ./configure
--with-libraries=date_time,filesystem,iostreams,program_options,serialization,system,thread

And now, instead of the usual way to start building boost:
# Make install
I instead manually run bjam with:
# ./tools/jam/src/bin.macosxx86/bjam architecture=x86 address-model=64
--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

Now I have 64-bit versions of the libraries!
I am very happy Vladimir you really saved my day!

*Handshake*
Andreas :)

Vladimir Prus wrote:
>
> 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
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>

-- 
View this message in context: http://www.nabble.com/Help-building-64-bit-boost-libs-on-Mac-OS-X%21-tp19921132p19927198.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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