[LLVMdev] Compiling error in 64bit machines

someguy just.s0m3.guy+llvmdev at gmail.com
Mon Mar 16 00:35:00 PDT 2009


How did you compile LLVM?

Can you please 'file lvm-gcc'?

2009/3/16 bq chan <cbqios at gmail.com>:
> 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!
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list