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

INSTALL.txt « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e7c06fad829f5a3c75d83e43d66dcf320ff87ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Basic Installation
==================

The Mono project has developed mono, a CLI runtime. The build process
of each of these depends on nothing more than a C compiler and glib2.

However, to provide a working runtime environment, these programs must
be supplemented by the class libraries, which are written in C#.  This
package contains the components written in C#: class libraries,
compilers and tools.

*********************************************************************
*                                                                   *
*                            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 checkout of the
sources, you should go into the `mono' sibling directory and issue the
make command, like this:

	  cd ../mono
	  ./autogen.sh --prefix=/usr/local
	  make
	  make install

The compilation is bundled with the build due to dependencies on the
class libraries on the runtime.

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 file
build/config-default.make.

More About the Build System
===========================

More information is found in build/README.*. Here's a quick rundown
of the features:

        * Profile support. 'make PROFILE=profilename' or 'export
	  PROFILE=profilename ; make' will work. Profiles are defined
	  in build/profiles/profilename.make ;

        * Important variables are shared among makefiles now; you can
	  edit build/config.make (see build/config-default.make for a
	  template) and give global settings, or just have a much
	  saner time of writing new makefiles.

        * Response files, stamps, and other build trivia now all land
	  in build/deps/, making the library build directories
	  cleaner.

        * Test libraries now live in class/Library/Library_test.dll,
	  not class/Library/Test. 'make test' will build the test DLL,
	  'make run-test' will actually run the nunit tests.

        * Standardized recursive targets: all, clean, install, test,
	  run-test.  Read build/README.makefiles for definitions of
	  what they should do

        * (Relatively) sane 'make dist' target; 'make distcheck'
	  support;