diff options
author | Alp Toker <alp@mono-cvs.ximian.com> | 2002-07-26 20:40:43 +0400 |
---|---|---|
committer | Alp Toker <alp@mono-cvs.ximian.com> | 2002-07-26 20:40:43 +0400 |
commit | 87bcfc3b253af941bb4d21db563d5a345ce57bfc (patch) | |
tree | 5f9dc6d16ce9b8d6f84fc97d53bf9fdc77c40ce7 /mcs/INSTALL.txt | |
parent | 2a6dcbecd5c437b50edf73ee85e223cd02e6be33 (diff) |
Wrote an INSTALL doc.
svn path=/trunk/mcs/; revision=6197
Diffstat (limited to 'mcs/INSTALL.txt')
-rw-r--r-- | mcs/INSTALL.txt | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/mcs/INSTALL.txt b/mcs/INSTALL.txt new file mode 100644 index 00000000000..954fdcaa3f4 --- /dev/null +++ b/mcs/INSTALL.txt @@ -0,0 +1,56 @@ +Basic Installation +================== + +The Mono project has developed mono, an x86-specific CL JIT compiler and +mint, a portable CLI interpreter. The build process of each of these +depends on nothing more than a C compiler, glib2 and libgc. + +However, to provide a working runtime environment, these programs must +be supplemented by corlib, a CLR assembly to which they are closely +tied. This package provides the C# sources for corlib as well as some +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 +==================== + +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. + +To build the compiler and class libraries, run: + + make -f makefile.gnu + +The libraries will be placed in the directory class/lib/ and the mcs +compiler executable in mcs/. + +To install them, run: + + make -f makefile.gnu install + +You can also specify a prefix into which the files will be installed: + + make -f makefile.gnu install prefix=/opt + +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: + + make -f makefile.gnu dist + +Building mcs on Windows +======================= + +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 + +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. + |