Hi, Alright, I found the following in the GCC manual: -m64 Generate code for a 32-bit or 64-bit environment. The 32-bit environment sets int, long and pointer to 32 bits and generates code that runs on any i386 system. The 64-bit environment sets int to 32 bits and long and pointer to 64 bits and generates code for AMD's x86-64 architecture. First, simply try to add the -m64 parameter to the CFLAGS options and use "-march=athlon". If that doesn't work either, delete the -march parameter and use -m64 only. Martin On Sun, 2003-08-31 at 16:25, Phil Chapman wrote:
hmmm,
uname -m returns x86_64
uname -p returns unknown
I changed the CFLAGS to be -march=x86_64
but it gets an unknown value for march when doing the make.
tried -march=i686 and again it gets CPU does not cuppot x86_64 instruction set??
Any more ideas??
How can I tell if I'm in 64-bit mode?
Regards
Phil