Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added note on building CompilerRT, corrected some PATHS in directions.

  • Loading branch information...
commit fb8a73cd60ecc4a228f6ffbaaa17854085147b09 1 parent 3a049f3
jpbonn authored April 12, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  lib/Target/Mico32/README
7  lib/Target/Mico32/README
... ...
@@ -1,4 +1,3 @@
1  
-
2 1
 This is the Lattice Mico32 backend.
3 2
 
4 3
 INSTALLATION
@@ -22,7 +21,7 @@ git clone git://github.com/milkymist/llvm-lm32.git llvm
22 21
 2a) Configure with cmake:
23 22
 ------------------
24 23
 mkdir $TOPDIR/build
25  
-( cd $TOPDIR/build ;  cmake ../llvm  -DCMAKE_INSTALL_PREFIX=<INSTALL_DIRECTORY> -DCMAKE_BUILD_TYPE=Debug)
  24
+( cd $TOPDIR/build ;  cmake ../llvm  -DCMAKE_INSTALL_PREFIX=$TOPDIR/install -DCMAKE_BUILD_TYPE=Debug)
26 25
 ------------------
27 26
 
28 27
 
@@ -30,7 +29,7 @@ mkdir $TOPDIR/build
30 29
 -------------------
31 30
 mkdir $TOPDIR/build
32 31
 
33  
-(cd $TOPDIR/build ; ../llvm/configure CC=gcc CXX=g++ --enable-debug-runtime --prefix=/Users/jpbonn/Documents/mico32/install/)
  32
+(cd $TOPDIR/build ; ../llvm/configure CC=gcc CXX=g++ --enable-debug-runtime --prefix=$TOPDIR/install/)
34 33
 -------------------
35 34
 The "CC=gcc CXX=g++" may be required on systems with clang installed.
36 35
 
@@ -39,6 +38,8 @@ The "CC=gcc CXX=g++" may be required on systems with clang installed.
39 38
 (cd $TOPDIR/build ; make install)
40 39
 -------------------
41 40
 
  41
+4) (Optional) Build and install CompilerRT (Clang runtime support library).  The LM32 port is on GitHub: https://github.com/jpbonn/compiler-rt-mico32
  42
+
42 43
 
43 44
 LLVM MICO32 CODEGEN TESTS
44 45
 

0 notes on commit fb8a73c

Please sign in to comment.
Something went wrong with that request. Please try again.