[LLVMdev] Cross compling with LLVM for MIPS

janarbek canarbekmatay at yahoo.com
Fri Sep 2 09:29:32 PDT 2011


Hello,
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".... 
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 ?


jmatai at ubuntu:~$ llc --version
Low Level Virtual Machine (http://llvm.org/):
  llvm version 2.8
  Optimized build.
  Built Jun 21 2011 (02:22:36).
  Host: x86_64-unknown-linux-gnu
  Host CPU: i686

  Registered Targets:
    alpha   - Alpha [experimental]
    arm     - ARM
    bfin    - Analog Devices Blackfin [experimental]
    c       - C backend
    cellspu - STI CBEA Cell SPU [experimental]
    cooper  - PIC16 Cooper [experimental]
    cpp     - C++ backend
    mblaze  - MBlaze
    mips    - Mips
    mipsel  - Mipsel
    msp430  - MSP430 [experimental]
    pic16   - PIC16 14-bit [experimental]
    ppc32   - PowerPC 32
    ppc64   - PowerPC 64
    sparc   - Sparc
    sparcv9 - Sparc V9
    systemz - SystemZ
    thumb   - Thumb
    x86     - 32-bit X86: Pentium-Pro and above
    x86-64  - 64-bit X86: EM64T and AMD64
    xcore   - XCore

jmatai at ubuntu:~$ clang
The program 'clang' is currently not installed.  You can install it by typing:
sudo apt-get install clang
jmatai at ubuntu:~$ 


   ===========================================  
Phone : 82-42-860-1838
Fax : 82-42-860-6790  Cell Phone: 82-10-7599-1981  ===========================================

--- On Thu, 9/1/11, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote:

From: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
Subject: Re: [LLVMdev] Cross compling with LLVM for MIPS
To: "janarbek" <canarbekmatay at yahoo.com>
Cc: llvmdev at cs.uiuc.edu
Date: Thursday, September 1, 2011, 2:03 PM

> 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 ?

I don't know what's the default llvm configuration for ubuntu! But you
can check for mips support using "llc --version". Yes, it's supported
in 2.8, although it has improved significantly since then.


--
Bruno Cardoso Lopes
http://www.brunocardoso.cc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110902/0e1a0f5e/attachment.html>


More information about the llvm-dev mailing list