tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] [BUG] x86_64-tcc compiled by i386-tcc is wrong


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] [BUG] x86_64-tcc compiled by i386-tcc is wrong
Date: Fri, 20 Mar 2015 16:56:12 +0300

As I can see x86_64-tcc compiled by i386-tcc has i386 defined insteed
of the __x86_64__

i386-tcc -o x86_64-tcc.x86 -E -dD tcc.c -DONE_SOURCE -DTCC_TARGET_X86_64 -I.
x86_64-tcc -o x86_64-tcc.x86_64 -E -dD tcc.c -DONE_SOURCE
-DTCC_TARGET_X86_64 -I.
diff -u x86_64-tcc.x86 x86_64-tcc.x86_64
.....
-// #define i386 1
-// #define __i386 1
-// #define __i386__ 1
+// #define __x86_64__ 1
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]