Boost logo

Boost Users :

Subject: Re: [Boost-users] Building boost_1.34.1 on mac os X 10.5 64 bit.
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-10-27 21:20:52


On Mon, Oct 27, 2008 at 8:54 PM, Alain Leblanc <aalebl_at_[hidden]> wrote:
> 2008/10/27 Alexander Sack <pisymbol_at_[hidden]>:
>> On Mon, Oct 27, 2008 at 8: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.
>>
>> Hmmmph. This worked for me. Are you using combined or 64-bit?
>>
>> Also macports.org has ports already to go for your Mac incase that will help.
>>
>> -aps
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
> Do you mean combined instead of x86? Using combined as a value for
> either the address model or the architecture returns a message
> indicating that it is not a valid value.

Well I haven't done combined but what about 64 for address-model?

-aps


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