This is the mail archive of the
mailing list for the GCC project.
Is it x86-64 or x86_64 ?
- From: Andrew Haley <aph at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 7 Mar 2006 10:26:24 +0000
- Subject: Is it x86-64 or x86_64 ?
Our config tools return "x86_64" as an arch. Like this:
[aph@zorro ~]$ gcc/trunk/config.guess
But try it with gcc, and
[aph@zorro ~]$ gcc -S add-entropy.c -march=x86_64
add-entropy.c:1: error: bad value (x86_64) for -march= switch
add-entropy.c:1: error: bad value (x86_64) for -mtune= switch
However, if you read the gcc source you'll discover it's not "x86_64"
[aph@zorro ~]$ gcc -S add-entropy.c -march=x86-64
So, which is it supposed to be? In general we use "x86_64"
everywhere, but gcc seems to have decided to use "x86-64". Perhaps we
should accept "x86_64" as well?
Confused of Cambridge.