X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2FINSTALL.txt;h=cc8338f46e223e141764e375f4da2efc7f2ace0a;hb=42bf7118f8a25f830399948723f3b1394eb749d8;hp=edc5d31e68de9ea29aead04194ae3a08dfc4dde3;hpb=0bf6568c0fb27ee463a5c85ad48f4b832075bf39;p=mono.git diff --git a/mcs/INSTALL.txt b/mcs/INSTALL.txt index edc5d31e68d..cc8338f46e2 100644 --- a/mcs/INSTALL.txt +++ b/mcs/INSTALL.txt @@ -9,22 +9,32 @@ be supplemented by the class libraries, which are written in C#. This package contains the components written in C#: class libraries, compilers and tools. -Build Process for Users. -======================== +********************************************************************* +* * +* NOTICE * +* * +* Unless you are developing the class libraries, you should * +* not need to do any build steps in this directory. * +* * +* Go to ../mono and read the README file to compile and * +* install. * +* * +********************************************************************* If you only want to build a snapshot or a fresh CVS checkout of the sources, you should go into the `mono' sibling directory and issue the -following command: +make fullbuild command, like this: - ./autogen --prefix=/usr/local + cd ../mono + ./autogen.sh --prefix=/usr/local make fullbuild That will build and install the code in a single pass. The compilation is bundled with the build due to dependencies on the class libraries on the runtime. -Build Features for Developers. -============================== +Build Features for Developers of Mono. +====================================== These instructions apply to both Linux and Windows. To build this package, you must already have a C# compiler installed. This means @@ -34,6 +44,13 @@ www.go-mono.com/daily. On Windows, you can just use the Microsoft compiler. You also need GNU make to build the software (on Windows, you will need for example the Cygwin environment setup). +You can customize your MCS configuration by using: + + ./configure [--prefix=PREFIX] [--profile=PROFILE] + +If you do not run the above, the defaults are /usr/local for the +prefix, and `default' for the profile. + To build the compiler and class libraries, run: make @@ -45,10 +62,6 @@ To install them, run the following: make install -The default prefix is /usr/local. To change this configuration option type: - - echo prefix=/your-prefix >> build/config.make - If you get "corlib out of sync" errors, try make PROFILE="atomic" @@ -112,7 +125,7 @@ rest of your build can proceed. If you want to always use the atomic profile, run this command: - echo PROFILE=atomic >> build/config.make + ./configure --profile=atomic More About the Build System ===========================