[LLVMdev] Compiling error in 64bit machines
bq chan
cbqios at gmail.com
Mon Mar 16 00:28:42 PDT 2009
Dear all, sorry to bother you.
I am new to llvm, and have a trivial question. When I compile the
original source code to llvm-IR, there is an error as follows:
$ llvm-gcc hello.c -o hello
/tmp/cc1vOzRT.s: Assembler messages:
/tmp/cc1vOzRT.s:9: Error: suffix or operands invalid for `push'
/tmp/cc1vOzRT.s:21: Error: suffix or operands invalid for `pop'
--------------------------------------------
#include <stdio.h>
int main() {
printf("hello world\n");
return 0;
}
------------------------------------------
$ uname -a
Linux localhost.localdomain 2.6.25.11-97.fc9.x86_64 #1 SMP Mon Jul 21
01:09:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
THANK YOU!
More information about the llvm-dev
mailing list