[LLVMdev] install and add backend to llvm.

Teklu kebede tek_phy at yahoo.com
Mon Jan 24 18:13:37 PST 2011


Hi I am new to llvm and Linux (I am using ubuntu 10)

My aim is to add backend to llvm. 

I install llvm using 

$ sudo apt-get install llvm

and I am able to understand what I read about Writing an LLVM Compiler Backend.

I have seen the assembly codes of the targets on llvm using llc. What I need now is to change some of the TableGen files of one of the target like SparcInstrInfo.td.  So I uninstall llvm and I try to build it manually as specified in Getting Started with the LLVM System. http://llvm.org/releases/2.7/docs/GettingStarted.html. 

The building finish with out error (I didn\t include LLVM Test Suite).
I use default for all of the options!! 

But when I use all of tools  for example 
$ lli hello.bc

I get

The program 'lli' is currently not installed.  You can install it by typing:
sudo apt-get install llvm-2.7-runtime

Any help please.

I just need to see the effect of a changes in TableGen files, when i print the assembly code.
like name of register, or name of Instruction. 

thanks





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110124/b65330ff/attachment.html>


More information about the llvm-dev mailing list