This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX=/prj/mono-bin | |
git clone https://github.com/mono/mono.git --recursive mono-m | |
cd mono-m | |
./autogen.sh --prefix=$PREFIX --enable-llvm && make -j10 && make install | |
PATH=$PREFIX/bin:$PATH | |
#now: | |
csc -o P.cs && mono --aot=llvm p.exe && mono p.exe | |
#or with additional llvm arguments for opt and llc: |