[CLN-list] Re: (64-bit) CLN on OS X

Richard B. Kreckel kreckel at ginac.de
Sun Jan 27 16:32:52 CET 2008


Ron Garret wrote:
> 
> On Jan 23, 2008, at 9:09 AM, Alexei Sheplyakov wrote:
> 
>> On Wed, Jan 23, 2008 at 08:23:46AM -0800, Ron Garret wrote:
>>
>>> Well, x86_64-apple-darwin doesn't work either, but it's a different
>>> error this time, so maybe this is progress:
>> [skipped the error messages]
>>
>> I'm afraid it is not. Configure got confused in another way. For some 
>> reason
>> it decided to use plain g++ instead of x86_64-apple-darwin (autoconf 
>> expects
>> it to produce 64-bit code, i.e. even without -m64 switch). But g++ 
>> generates
>> 32-bit code, while some configure-generated headers are intended for 
>> 64-bit
>> one. So, the next incantation to try is
>>
>> ./configure --host=x86_64-apple-darwin --build=x86_64-apple-darwin 
>> CXXFLAGS='-O -m64' CFLAGS='-O -m64'
>>
>> Hope this *really* helps,
>>
> 
> Almost.  Needed to add LDFLAGS=-m64.  Then it worked.  Woohoo!

Woohoo!

That leaves me wonder if there's something to fix to make it work better 
next time someone gives it a try. Does anyone know? Frankly, I'm lost.

   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the CLN-list mailing list