update
[mono.git] / man / mono-config.5
1 .\" 
2 .\" mono configuration page.
3 .\" (C) Ximian, Inc. 
4 .\" Author:
5 .\"   Miguel de Icaza (miguel@gnu.org)
6 .\"
7 .TH Mono "Mono 1.0"
8 .SH NAME
9 mono-config \- Mono runtime file format configuration
10 .SH DESCRIPTION
11 The Mono runtime will load configuration data from the
12 installation prefix /etc/mono/config file, the ~/.mono/config or from
13 the file pointed by the MONO_CONFIG environment variable.
14 .PP
15 This file controls the behavior of the runtime.
16 .PP
17 The file contains an XML-like file with various sections, all of them
18 contained inside a 
19 .B<configuration> 
20 section (It actually uses GMarkup
21 to parse the file).
22 .SH <dllmap> directive
23 You use the dllmap directive to map shared libraries referenced by
24 P/Invoke in your assemblies to a different shared library.
25 .PP
26 This is typically used to map Windows libraries to Unix library names.
27 .SH EXAMPLES
28 The following example maps references to the `cygwin1.dll' shared
29 library to the `libc.so.6' file.  
30 .nf
31 <configuration>
32         <dllmap dll="cygwin1.dll" target="libc.so.6"/>
33 </configuration>
34 .fi
35 .SH SEE ALSO
36 .BR mono(1), monodis(1), mint(1)