X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=README;h=ccfd67d4cfd7cda8fc6bb4802037a5ca79d370dd;hb=8c686c3e13a48988b298569586f60e33d170d93b;hp=abb0314418806d7682a0784db26f217583822888;hpb=550cf1e0b5a1e4bc68398466c2968e0cedb3cd9a;p=mono.git diff --git a/README b/README index abb03144188..ccfd67d4cfd 100644 --- a/README +++ b/README @@ -75,14 +75,18 @@ This is Mono. - c. Building the software from SVN + c. Building the software from GIT --------------------------------- - If you are building the software from SVN, make sure that you + If you are building the software from GIT, make sure that you have up-to-date mcs and mono sources: - svn co svn+ssh://USER@mono-cvs.ximian.com/source/trunk/mono - svn co svn+ssh://USER@mono-cvs.ximian.com/source/trunk/mcs + If you are an anonymous user: + git clone git://github.com/mono/mono.git + + If you are a Mono contributors with read/write privileges: + git clone git@github.com:mono/mono.git + Then, go into the mono directory, and configure: @@ -129,16 +133,16 @@ This is Mono. distribution, which contains just enough to run the 'mcs' compiler. You do this with: + # Run the following line after ./autogen.sh make get-monolite-latest This will download and automatically gunzip and untar the tarball, and place the files appropriately so that you can then just run: - make + make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe - To ensure that you're using the 'monolite' distribution, you can - also try passing EXTERNAL_MCS=false on the make command-line. + And that will use the files downloaded by 'make get-monolite-latest. Testing and Installation ------------------------ @@ -172,11 +176,20 @@ This is Mono. The following are the configuration options that someone building Mono might want to use: + --with-sgen=yes,no + + Generational GC support: Used to enable or disable the + compilation of a Mono runtime with the SGen garbage collector. + + On platforms that support it, after building Mono, you + will have both a mono binary and a mono-sgen binary. + Mono uses Boehm, while mono-sgen uses the Simple + Generational GC. --with-gc=[boehm, included, sgen, none] - Selects the garbage collector engine to use, the - default is the "included" value. + Selects the default Boehm garbage collector engine to + use, the default is the "included" value. included: This is the default value, and its @@ -192,10 +205,6 @@ This is Mono. Boehm GC, but we do not recommend that people use this, as it disables a few features. - sgen: - The under-development Generational GC for - Mono, do not use this in production. - none: Disables the inclusion of a garbage collector. @@ -408,6 +417,7 @@ This is Mono. optimizations. --enable-llvm + --enable-loadedllvm This enables the use of LLVM as a code generation engine for Mono. The LLVM code generator and optimizer will be @@ -418,7 +428,11 @@ This is Mono. full details and up-to-date information on this feature. You will need to have an LLVM built that Mono can link - against + against, + + The --enable-loadedllvm variant will make the llvm backend + into a runtime-loadable module instead of linking it directly + into the main mono binary. --enable-big-arrays @@ -463,6 +477,15 @@ This is Mono. There are a number of runtime options to control this also, see the man page. + --enable-nacl + + This configures the Mono compiler to generate code + suitable to be used by Google's Native Client: + + http://code.google.com/p/nativeclient/ + + Currently this is used with Mono's AOT engine as + Native Client does not support JIT engines yet. 2. Using Mono =============