Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2003-07-16 04:24:17 +0400
committerMiguel de Icaza <miguel@gnome.org>2003-07-16 04:24:17 +0400
commit74c45be652912f4299ae63dfc966a37c0ad23612 (patch)
treef9acbaedfac6009186c4657364bdde7e19f6db5e /mcs/INSTALL.txt
parent982e84cfc89e4399bfb59ba8e5cca38387323b76 (diff)
Update instructions
svn path=/trunk/mcs/; revision=16278
Diffstat (limited to 'mcs/INSTALL.txt')
-rw-r--r--mcs/INSTALL.txt44
1 files changed, 23 insertions, 21 deletions
diff --git a/mcs/INSTALL.txt b/mcs/INSTALL.txt
index 83f0273df05..a90e4b0831e 100644
--- a/mcs/INSTALL.txt
+++ b/mcs/INSTALL.txt
@@ -13,41 +13,43 @@ additional assemblies and mcs, the Mono C# compiler.
To build this package, you must already have a C# compiler installed.
Build instructions for *NIX and Microsoft Windows follow.
-Building mcs on *NIX
-====================
+Building mcs
+============
-mcs provides a set of makefiles which make it easy to build and install
-mcs on *NIX systems like Linux or FreeBSD where mcs is already
-installed.
+These instructions apply to both Unix and Windows. You need GNU make
+to build the software (on Windows, you will need for example the
+Cygwin environment setup)
To build the compiler and class libraries, run:
- make -f makefile.gnu
+ make
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
-To install them, run the following, where prefix identifies where you
-want the files installed:
+To install them, run the following:
+
+ make install
+
+The default is /usr/local, to change this configuration option type:
- make -f makefile.gnu install prefix=/usr/local
+ echo prefix=/your-prefix > build/config.make
If you are tracking Mono's development, you may sometimes need to share
-the compiled libraries with others. If you want to produce an easily
-distributable tarball, run:
+the compiled libraries with others, you can do:
- make -f makefile.gnu dist
+ make monocharge
-Building mcs on Windows
-=======================
+Or a light version:
-It is also possible to build mcs on Windows using the Microsoft .NET
-framework. This may be convenient if you do not have access to a working
-mcs setup. To build the compiler and class libraries, run:
+ make monocharge-lite
- make
-The libraries will be placed in the directory class/lib/ and the mcs
-compiler executable in mcs/. They can then be copied to /usr/lib and
-/usr/bin or wherever desired on the target system.
+Configuration
+-------------
+
+If you want to change the configuration options for the build process,
+place your configuration options in build/config.make
+A list of variables that control the build are listed in the
+build/config-default.make