Boost logo

Boost Users :

Subject: Re: [Boost-users] Building boost_1.34.1 on mac os X 10.5 64 bit.
From: Mat Marcus (mat-lists_at_[hidden])
Date: 2008-10-27 22:48:54


On Mon, Oct 27, 2008 at 5:36 PM, Alain Leblanc <aalebl_at_[hidden]> wrote:
> I'm trying to build boost 1.34.1 on mac os X 64-bit. In a previous
> thread someone(Vladimir Prus) gave the following suggestion:
>
> ==========================================
> 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
> ==========================================
>
> and it looks like it was fine with boost 1.36. However when I try with
> boost 1.34.1 I get the following message:
>
> libs/test/src/execution_monitor.cpp:1: error: CPU you selected does
> not support x86-64 instruction set
>
> If I remove the achitecture=x86 option then it compiles, but the
> resulting libraries are not 64-bit, base on the output from file
> libbooost-XXX.dylib.
>
> Is there anything in the 1.34.1 version preventing me from compiling
> in 64-bit mode?
>
> I'm using gcc 4.0.1.
>
> Thanks,
>
> Alain

You might try the 1.34.1 boost build patches contained in this file:

http://stlab.adobe.com:8080/@md=d&cd=//adobe_source_libraries/tools/&cdf=//adobe_source_libraries/tools/boost_1_34_1_patch_01.txt&df=s&rt=s&po=h&thv=d&c=4Ba@//adobe_source_libraries/tools/boost_1_34_1_patch_01.txt?ac=64&rev1=5


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net