<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hello,<br>I think i have mips. when I type llc --version, I got following and so I assume it supports MIPS. However, when I type clang I got a message "Clang is not installed yet".... <br>So do I have to install clang ? how do I know if my llvm already has clang but it is not included in the PAT ?<br><br><br>jmatai@ubuntu:~$ llc --version<br>Low Level Virtual Machine (http://llvm.org/):<br> llvm version 2.8<br> Optimized build.<br> Built Jun 21 2011 (02:22:36).<br> Host: x86_64-unknown-linux-gnu<br> Host CPU: i686<br><br> Registered Targets:<br> alpha - Alpha [experimental]<br> arm - ARM<br> bfin - Analog Devices Blackfin [experimental]<br> c - C
backend<br> cellspu - STI CBEA Cell SPU [experimental]<br> cooper - PIC16 Cooper [experimental]<br> cpp - C++ backend<br> mblaze - MBlaze<br> mips - Mips<br> mipsel - Mipsel<br> msp430 - MSP430 [experimental]<br> pic16 - PIC16 14-bit [experimental]<br> ppc32 - PowerPC 32<br> ppc64 - PowerPC 64<br> sparc - Sparc<br> sparcv9 - Sparc V9<br> systemz - SystemZ<br> thumb - Thumb<br> x86 - 32-bit X86: Pentium-Pro and above<br> x86-64 - 64-bit X86: EM64T and AMD64<br> xcore - XCore<br><br><span
style="font-weight: bold;">jmatai@ubuntu:~$ clang</span><br>The program 'clang' is currently not installed. You can install it by typing:<br>sudo apt-get install clang<br>jmatai@ubuntu:~$ <br><br><br><div><font color="#00007f"></font> </div> <div><font color="#00007f">===========================================</font></div> <div><br><font color="#00007f">Phone : 82-42-860-1838<br>Fax : 82-42-860-6790</font></div> <div><font color="#00007f">Cell Phone: 82-10-7599-1981</font></div> <div><font color="#00007f">===========================================</font></div><br><br>--- On <b>Thu, 9/1/11, Bruno Cardoso Lopes <i><bruno.cardoso@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bruno Cardoso Lopes <bruno.cardoso@gmail.com><br>Subject: Re: [LLVMdev] Cross compling with LLVM for MIPS<br>To: "janarbek" <canarbekmatay@yahoo.com><br>Cc:
llvmdev@cs.uiuc.edu<br>Date: Thursday, September 1, 2011, 2:03 PM<br><br><div class="plainMail">> I have installed LLVM on my machine (ubuntu) a while ago. I think my LLVM version is 2.8. is it supported in 2.8 ? When I install i didn't configure LLVM for mips. Do I have to configure it when I build ?<br><br>I don't know what's the default llvm configuration for ubuntu! But you<br>can check for mips support using "llc --version". Yes, it's supported<br>in 2.8, although it has improved significantly since then.<br><br><br>--<br>Bruno Cardoso Lopes<br><a href="http://www.brunocardoso.cc" target="_blank">http://www.brunocardoso.cc</a><br></div></blockquote></td></tr></table>