[LLVMdev] Compiling with llvm-gcc

funceval funceval at gmail.com
Sat Jul 25 13:13:13 PDT 2009


Using the command:
llvm-gcc -m64 hello.c

resulted in the following error:
sorry, unimplemented: 64-bit mode not compiled in



Bill Wendling wrote:
> 
> Did you compile it with -m64?
> 
> -bw
> 
> On Jul 24, 2009, at 11:00 PM, funceval wrote:
> 
>>
>> Hi,
>>
>> I just installed llvm on a 64 bit system and tried running it on a  
>> hello
>> world program but I got the following errors:
>>
>> /tmp/ccXb6nzp.s: Assembler messages:
>> /tmp/ccXb6nzp.s:9: Error: suffix or operands invalid for `push'
>> /tmp/ccXb6nzp.s:21: Error: suffix or operands invalid for `pop'
>>
>> I have installed llvm 2.5 and it was configured with llvm-gcc4.2-2.5
>>
>> Please help me resolve this issue.
>>
>> Thanks
>> -- 
>> View this message in context:
>> http://www.nabble.com/Compiling-with-llvm-gcc-tp24655143p24655143.html
>> Sent from the LLVM - Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 

-- 
View this message in context: http://www.nabble.com/Compiling-with-llvm-gcc-tp24655143p24661269.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list