[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] gnubg on amd64 architecture
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] gnubg on amd64 architecture |
Date: |
Tue, 13 Feb 2007 15:35:18 +0100 |
User-agent: |
mutt-ng/devel-r804 (FreeBSD) |
On Tue 13 Feb 2007 (11:51 +0000), Jonathan Kinsey wrote:
> >
> >Any ideas on what we should use as a define to call in the AMD64
> >compatible code in neuralnet.c?
>
> I think _LP64 is what gcc defines.
A bit of checking gives (gcc 4.1, gentoo Linux) has this assortment.
__amd64 1
__x86_64 1
__LP64__ 1
__x86_64__ 1
__amd64__ 1
_LP64 1
An opeteron machine with gcc 3.4 gives
__x86_64 1
__amd64 1
__LP64__ 1
__k8 1
__x86_64__ 1
__k8__ 1
__amd64__ 1
_LP64 1
My personal preference would be __LP64__, but I wonder what Windows
compilers preset (both gcc and native Windows compilers)
--
Jim Segrave address@hidden
Re: [Bug-gnubg] gnubg on amd64 architecture, Christian Anthon, 2007/02/13