Skip to content

Commit

Permalink
Added note on building CompilerRT, corrected some PATHS in directions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbonn committed Apr 12, 2012
1 parent 3a049f3 commit fb8a73c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Target/Mico32/README
@@ -1,4 +1,3 @@

This is the Lattice Mico32 backend.

INSTALLATION
Expand All @@ -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.

Expand All @@ -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

Expand Down

0 comments on commit fb8a73c

Please sign in to comment.