Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit fb8a73cd60ecc4a228f6ffbaaa17854085147b09 1 parent 3a049f3
jpbonn jpbonn authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Target/Mico32/README
7 lib/Target/Mico32/README
View
@@ -1,4 +1,3 @@
-
This is the Lattice Mico32 backend.
INSTALLATION
@@ -22,7 +21,7 @@ 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)
------------------
@@ -30,7 +29,7 @@ mkdir $TOPDIR/build
-------------------
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
Please sign in to comment.
Something went wrong with that request. Please try again.