[LLVMdev] Compiling with llvm-gcc
funceval
funceval at gmail.com
Sat Jul 25 21:51:26 PDT 2009
Hi,
Thank you for your help. I compiled llvm-gcc from source and tried again
with the new binaries and it worked this time. I used the option
"--disable-multilib" while running configure for llvm-gcc and I think thats
what made the difference. Hoping to build some tools using llvm now :)
Thanks
Samuel Crow wrote:
>
>
> Hello,
>
>
> This error message means that you haven't compiled LLVM-GCC from the
> source for your architecture. The distribution you have is probably for
> 32-bit machines only. Tell us more about your system configuration and
> maybe we can figure out where the problem arises in the compilation of
> LLVM-GCC.
>
>
> ----- Original Message ----
>> From: funceval <funceval at gmail.com>
>> To: llvmdev at cs.uiuc.edu
>> Sent: Saturday, July 25, 2009 3:13:13 PM
>> Subject: Re: [LLVMdev] Compiling with llvm-gcc
>>
>>
>> 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
>
>
>
>
> _______________________________________________
> 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-tp24655143p24664027.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev
mailing list