2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / INSTALL.txt
index 6033ed4fce74777fe6858561131b6c7fc772533e..2b59d588ba3b029982d950d69de74cd90d231faa 100644 (file)
@@ -9,23 +9,34 @@ 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.                                                    *
+*                                                                   *
+*       ../mono is where you have your `mono' source download       *
+*                                                                   *
+*********************************************************************
 
 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
-make fullbuild command, like this:
+make command, like this:
 
          cd ../mono
          ./autogen.sh --prefix=/usr/local
-         make fullbuild
+         make
+         make install
 
-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.
+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
@@ -57,22 +68,25 @@ If you get "corlib out of sync" errors, try
 
     make PROFILE="atomic"
 
-The difference between the two modes is explained farther down.
+A better alternative would be to fire off a 'make' from a sibling or
+parent 'mono/' tree.
 
 Troubleshooting
 ===============
 
-Occasionally, something in the compiler or runtime changes enough that
-an existing installation cannot complete a full build from cvs.  In this case,
-go to http://go-mono.com/daily and download a monocharge or monolite tarball.
-Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.  Then
-you should be able to complete the build normally (i.e. using make fullbuild).
-
-       wget http://go-mono.com/daily/monolite-20031028.tar.gz
-       tar -zxvf monolite-20031028.tar.gz
-       cd monolite-20031028
-       cp *.exe /usr/local/bin/.
-       cp *.dll /usr/local/lib/.
+We try to maintain the CVS tree such that it is bootstrapable from the
+latest released version of mono and mcs.  Occasionally, something in the
+compiler or runtime changes enough that an existing installation cannot
+complete a bootstrap from cvs.  In this case, go to
+http://go-mono.com/daily and download a monocharge or monolite tarball.
+Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.
+Then you should be able to complete the build normally (i.e. using make
+bootstrap).
+
+       wget http://go-mono.com/daily/monolite-20040505.tar.gz
+       tar -zxvf monolite-20040505.tar.gz
+       cd monolite-20040505
+       env prefix=/usr/local sh recharge.sh
 
 Monocharges
 ===========