[CLN-list] Re: (64-bit) CLN on OS X
Ron Garret
ron at flownet.com
Wed Jan 23 21:50:45 CET 2008
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!
rg
More information about the CLN-list
mailing list