Flush
[mono.git] / web / download
1 * Software Availability
2
3         The Virtual Execution System is available in package `mono'.
4         Currently this contains a metadata library and the
5         disassembler.  Please refer to our <a
6         href="runtime.html">Runtime</a> description for more details
7         on this part of the project.
8
9         The code for the C# compiler as well as the language error
10         test suite and the class library are in the `mcs' package, we
11         will move this later into `mono' itself. 
12
13         In order to make mcs and the class libraries you will need a computer
14         running Windows with the <strong>GNU make tools</strong> from the 
15         <strong>Cygwin</strong> environment, <strong>Microsoft's .NET Framework
16         SDK</strong>, <strong>GLIB 1.3</strong> and 
17         <strong>pkg-config</strong>.  
18
19 <a name="sources">
20 *** Sources
21
22         Stay up to date on the Mono team's development using the 
23         <a href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">
24         mono-cvs-list</a> mailing list.
25
26 <a name="feb-22">
27         <b>Mono 0.9</b>
28
29         New packaged versions of the Mono C# compiler and Mono runtime
30         are now available.  The latest version is 0.9.
31
32         <ul>
33                 * <a href="archive/mono-0.9">Mono 0.9 release notes</a>
34
35                 * <a href="archive/mcs-0.9.tar.gz">mcs-0.9.tar.gz</a>
36                 Mono C# compiler
37                 * <a href="archive/mono-0.9.tar.gz">mono-0.9.tar.gz</a>
38                 Mono runtime
39         </ul>
40         
41 <a name="snapshots">
42         For up to date sources, it is recommended that you use the Mono 
43         source code from either the 
44         <a href="http://www.go-mono.com/snapshots">nightly snapshots</a> or 
45         the <a href="anoncvs.html">Anonymous CVS</a>.  The nightly
46         snapshots are done every night at 10pm EST (Boston Time).
47
48         The nightly snapshots are not guaranteed to build, but most of the 
49         time they should.  They should give you a window to see what we are 
50         up to.
51
52         You can download the GNU make tools and the Cygwin environment from
53         <a href="http://www.cygwin.com">www.cygwin.com</a>.
54
55         You can download Microsoft's .NET Framework SDK from
56         <a href="http://msdn.microsoft.com/downloads">
57         msdn.microsoft.com/downloads</a>.
58
59         There are scripts to help build mono for both Unix and Windows.  Get
60         <a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
61         href="mono-build-w32.sh">mono-build-w32.sh</a> for Windows.
62         These scripts automate the installation of GLIB and pkgconfig
63         (building from source on Unix, and using binary packages
64         provided by the GIMP for Windows project on Windows.)  To use
65         the script, follow these simple steps:
66
67         <ul>
68                 * Save the script for your platform somewhere (e.g. /usr/local/bin)
69                 * Make the script executable (i.e chmod 755 /usr/local/bin/mono-build.sh)
70                 * Create a directory to hold the mono source, and the compiled binaries (e.g. mkdir ~/mono)
71                 * Change to the new directory (i.e. cd ~/mono)
72                 * run the script (i.e. /usr/local/bin/mono-build.sh)
73         </ul>
74
75         The script requires wget on either platform, and building the
76         software requires make, gcc, automake, autoconf, and libtool.
77         You should install these packages from your distribution or
78         with the cygwin installer.
79
80         The script will download required packages from
81         www.go-mono.com and do a cvs checkout of mono in the current
82         directory.  The cvs server chosen defaults to anonymous cvs;
83         set your CVSROOT environment variable before running the script to
84         select a particular cvs server.
85
86 <a name="install">
87 ** Building the software manually
88
89 *** Download the required software.
90
91         <ul>
92
93                 * Microsoft's .NET Framework SDK from 
94                   <a href="http://msdn.microsoft.com/downloads">
95                   msdn.microsoft.com/downloads</a>.
96
97                 * Cygwin and the GNU Make tools from  
98                   <a href="http://www.cygwin.com">www.cygwin.com</a>.
99                   Some people observed problems with autoconf 2.52. Installing 
100                   autoconf 2.13 helped in those cases.
101
102                 * Precompiled GLIB 1.3 and pkg-config packages (and
103                   their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
104                   <a href="http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip">http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip</a>
105                   <a href="http://www.go-mono.com/archive/glib-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-1.3.12-20020101.zip</a>
106                   <a href="http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip</a>
107                   <a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a>
108                   <a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a>
109                   <a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a>
110
111                 * Download the Mono source code from the
112                   <a href="#feb-11">packaged versions</a> or
113                   the <a href="http://www.go-mono.com/snapshots">
114                   nightly snapshots</a> or the <a href="anoncvs.html">
115                   Anonymous CVS</a>.  The nightly snapshots are done every 
116                   night at 10pm EST (Boston Time). The nightly snapshots are 
117                   not guaranteed to build, but most of the time they should.
118
119
120         </ul>
121
122
123 *** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 1.3 and pkg-config libraries.
124
125         <ul>
126
127                 * Install <a href="http://www.cygwin.com">Cygwin</a>.
128
129                 * Install <a href="http://msdn.microsoft.com/downloads">
130                   Microsoft .NET Framework SDK</a>.
131
132                 * Change to the <strong>/usr/local</strong> directory
133                   of your Cygwin installation.<br>
134                   Unzip the precompiled packages listed above.
135
136         </ul>
137
138 *** On Windows, to install and work on the compiler and the class libraries:
139
140         <ul>
141
142                 * If you downloaded the Mono 
143                   <a href="http://www.go-mono.com/snapshots">nightly snapshot
144                   </a>, untar the snapshot.
145
146                 * Change directories to <strong>"mcs"</strong>.
147
148                 * Compile:
149
150 <pre>
151 <strong>make windows</strong>
152 </pre>
153
154         </ul>
155
156 *** On Windows, to compile the mono runtime:
157
158         <ul>    
159
160                 * If you downloaded the Mono 
161                   <a href="http://www.go-mono.com/snapshots">nightly snapshot
162                   </a>, untar the snapshot.
163
164                 * Change directories to <strong>"mono"</strong>.
165
166                 * Configure, compile and install:
167
168 <pre><strong>
169 ./configure --prefix=c:/mono
170 make
171 make install
172 </strong></pre>
173                 
174         </ul>
175
176 *** On Unix, to compile the mono runtime:
177
178         <ul>
179                 
180                 * Install <a href="http://www.freedesktop.org/software/pkg-config">pkg-config</a>.
181
182                 * Install glib 1.3. You can download it
183                   from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">ftp.gtk.org</a>. Maybe you need
184                   to modify your ACLOCAL_FLAGS for pkg-config, for example if
185                   your install prefix is /usr/local:
186 <pre>
187 <strong>export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"</strong>
188 </pre>
189
190                 * If you downloaded the Mono 
191                   <a href="http://www.go-mono.com/snapshots">nightly snapshots
192                   </a>, untar the snapshot.
193
194                 * Change directories to <strong>"mono"</strong>.
195
196                 * Configure, compile and install:
197 <pre><strong>
198 ./configure
199 make
200 make install</strong>
201 </pre>
202         </ul>
203
204 *** Notes on compiling GLIB 1.3 and pkg-config from source:
205
206
207         <ul>
208
209                 * Some people observed problems with autoconf 2.52. Installing 
210                   autoconf 2.13 helped in those cases (don't forget to do a
211                   `make maintainer-clean' after the update).
212
213                 * Download, compile and install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a> from source.
214                   (I had to change line 674 of
215                   <nobr><tt>pkg-config-0.8.0/glib-1.2.8/gstrfuncs.c</tt></nobr> from 
216                   <nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
217                   <nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
218
219 <pre><strong>
220 tar xzvf pkg-config-0.8.0.tar.gz
221 cd pkg-config-0.8.0
222 ./configure --prefix=/usr
223 make
224 make install</strong>
225 </pre>
226
227                 * Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
228                   If you dont have MS Visual C/C++ 4.0 or 5.0 or 6.0 you can also try
229                   the binary package available at <a
230                   href="http://www.gimp.org/win32/libiconv-dev-20001007.zip">
231                   http://www.gimp.org/win32/libiconv-dev-20001007.zip</a>.
232
233  
234                 * Download, compile and install the 
235                   <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">
236                   glib 1.3</a> from source.
237
238         </ul>
239
240
241 <a name="oldreleases">
242
243 *** Very old releases.
244
245                 <ul>
246                 <a name="feb-11">
247                 <b>February 11, 2002</b>
248                 * <a href="archive/mcs-0.8.tar.gz">mcs-0.8.tar.gz</a>
249                 Mono C# compiler
250                 * <a href="archive/mono-0.8.tar.gz">mono-0.8.tar.gz</a>
251                 Mono runtime
252                 </ul>
253
254                 <a name="sep-18">
255                 <b>September 18, 2001</b>
256                 <ul>
257                 * <a href="archive/mono-0.7.tar.gz">mono-0.7.tar.gz</a>: Mono Runtime 0.7 release.
258                 * <a href="archive/mcs-0.7.tar.gz">mcs-0.7.tar.gz</a>: Mono Compiler and Classes 0.7 release.
259                 * <a href="archive/mono-0.7">Release Notes.</a>
260                 </ul>
261
262                 <a name="august-22">
263                 <b>August 22, 2001</b>
264                 <ul>
265                 * <a href="archive/mono-0.6.tar.gz">mono-0.6.tar.gz</a>: Mono Runtime 0.6 release.
266                 * <a href="archive/mono-compiler-classes-0.6.tar.gz">mono-compiler-classes-0.6.tar.gz</a>: Mono Compiler and Classes 0.6 release.
267                 * <a href="archive/mono-0.6">Release Notes.</a>
268                 </ul>
269
270         
271                 <a name="july-29">
272                 <b>July 29, 2001</b>
273                 <ul>
274                 * <a href="archive/mono-0.5.tar.gz">mono-0.5.tar.gz</a>: Mono Runtime 0.5 release.
275                 * <a href="archive/mono-0.5">Release Notes.</a>
276                 </ul>
277
278         
279                 <a name="july-22">
280                 <b>July 22, 2001</b>
281                 <ul>
282                 * <a href="archive/mcs-22-Jul-2001.tar.gz">mcs-22-Jul-2001.tar.gz</a>: CVS snapshot.
283                 * <a href="archive/mcs-Jul-22-Jul-19-2001.tar.gz">Differences since 19</a>: CVS snapshot.
284                 * <a href="archive/mcs-22">Release Notes.</a>
285                 </ul>
286
287                 <a name="july-19">
288                 <b>July 19th, 2001</b>
289                 <ul>
290                 * <a href="archive/mcs-19-Jul-2001.tar.gz">mcs-19-Jul-2001.tar.gz</a>: CVS snapshot.
291                 * <a href="archive/mcs-Jul-17-Jul-19-2001.tar.gz">Differences since 17</a>: CVS snapshot.
292                 * <a href="archive/mcs-19">Release Notes.</a>
293                 </ul>
294
295                 <a name="july-17">
296                 <b>July 17th, 2001</b>
297                 <ul>
298                 * <a href="archive/mcs-17-Jul-2001.tar.gz">mcs-17-Jul-2001.tar.gz</a>: CVS snapshot.
299                 * <a href="archive/mcs-Jul-15-Jul-17-2001.tar.gz">Differences since 15</a>: CVS snapshot.
300                 * <a href="archive/mcs-17">Release Notes.</a>
301                 </ul>
302
303                 <a name="july-15">
304                 <b>July 15th, 2001</b>
305                 <ul>
306                 * <a href="archive/mcs-15-Jul-2001.tar.gz">mcs-15-Jul-2001.tar.gz</a>: CVS snapshot.
307                 * <a href="archive/mono-0.4.tar.gz">mono-0.4.tar.gz</a>: Packaged Source Code.
308                 * <a href="archive/mono-0.4">Release Notes.</a>
309                 </ul>
310
311                 <a name="july-14">
312                 <b>July 14th, 2001</b>
313                 <ul>
314                 * <a href="archive/mcs-12-Jul-2001.tar.gz">mcs-12-Jul-2001.tar.gz</a>: CVS snapshot.
315                 * <a href="archive/mono-0.3.tar.gz">mono-0.3.tar.gz</a>: Packaged Source Code.
316                 </ul>
317
318                 <a name="july-8">
319                 <b>July 8th, 2001</b>
320
321                 <ul>
322                 * <a href="archive/mcs-08-Jul-2001.tar.gz">mcs-08-Jul-2001.tar.gz</a>: CVS Snapshot
323                 * <a href="archive/mono-08-Jul-2001.tar.gz">mono-08-Jul-2001.tar.gz</a>: CVS Snapshot
324                 </ul>
325         </ul>
326