Permalink
Browse files

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

  • Loading branch information...
1 parent 3a049f3 commit fb8a73cd60ecc4a228f6ffbaaa17854085147b09 @jpbonn jpbonn committed Apr 12, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Target/Mico32/README
@@ -1,4 +1,3 @@
-
This is the Lattice Mico32 backend.
INSTALLATION
@@ -22,15 +21,15 @@ git clone git://github.com/milkymist/llvm-lm32.git llvm
2a) Configure with cmake:
------------------
mkdir $TOPDIR/build
-( cd $TOPDIR/build ; cmake ../llvm -DCMAKE_INSTALL_PREFIX=<INSTALL_DIRECTORY> -DCMAKE_BUILD_TYPE=Debug)
+( cd $TOPDIR/build ; cmake ../llvm -DCMAKE_INSTALL_PREFIX=$TOPDIR/install -DCMAKE_BUILD_TYPE=Debug)
------------------
2b) Alternatively, configure with autotools:
-------------------
mkdir $TOPDIR/build
-(cd $TOPDIR/build ; ../llvm/configure CC=gcc CXX=g++ --enable-debug-runtime --prefix=/Users/jpbonn/Documents/mico32/install/)
+(cd $TOPDIR/build ; ../llvm/configure CC=gcc CXX=g++ --enable-debug-runtime --prefix=$TOPDIR/install/)
-------------------
The "CC=gcc CXX=g++" may be required on systems with clang installed.
@@ -39,6 +38,8 @@ The "CC=gcc CXX=g++" may be required on systems with clang installed.
(cd $TOPDIR/build ; make install)
-------------------
+4) (Optional) Build and install CompilerRT (Clang runtime support library). The LM32 port is on GitHub: https://github.com/jpbonn/compiler-rt-mico32
+
LLVM MICO32 CODEGEN TESTS

0 comments on commit fb8a73c

Please sign in to comment.