Add manual page for mono configuration
authorMiguel de Icaza <miguel@gnome.org>
Wed, 26 Jun 2002 12:20:55 +0000 (12:20 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 26 Jun 2002 12:20:55 +0000 (12:20 -0000)
svn path=/trunk/mono/; revision=5464

man/Makefile.am
man/mono-config.5 [new file with mode: 0644]
man/mono.1

index bb1642c1177693805aa629079ce15ddb228f292c..c5ac9027d774f5d20ccbdad21ffa0f568624f12c 100644 (file)
@@ -1,4 +1,4 @@
-man_MANS = mcs.1 mono.1 monostyle.1
+man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5
 
 EXTRA_DIST = $(man_MANS)
 
diff --git a/man/mono-config.5 b/man/mono-config.5
new file mode 100644 (file)
index 0000000..1800f42
--- /dev/null
@@ -0,0 +1,36 @@
+.\" 
+.\" mono configuration page.
+.\" (C) Ximian, Inc. 
+.\" Author:
+.\"   Miguel de Icaza (miguel@gnu.org)
+.\"
+.TH Mono "Mono 1.0"
+.SH NAME
+mono-config \- Mono runtime file format configuration
+.SH DESCRIPTION
+The Mono runtime will load configuration data from the
+installation prefix /etc/mono/config file, the ~/.mono/config or from
+the file pointed by the MONO_CONFIG environment variable.
+.PP
+This file controls the behavior of the runtime.
+.PP
+The file contains an XML-like file with various sections, all of them
+contained inside a 
+.B<configuration> 
+section (It actually uses GMarkup
+to parse the file).
+.SH <dllmap> directive
+You use the dllmap directive to map shared libraries referenced by
+P/Invoke in your assemblies to a different shared library.
+.PP
+This is typically used to map Windows libraries to Unix library names.
+.SH EXAMPLES
+The following example maps references to the `cygwin1.dll' shared
+library to the `libc.so.6' file.  
+.nf
+<configuration>
+       <dllmap dll="cygwin1.dll" target="libc.so.6"/>
+</configuration>
+.fi
+.SH SEE ALSO
+.BR mono(1), monodis(1), mint(1)
\ No newline at end of file
index 0d6dc2f20b7ff85eaf1586496333068c2b67678f..45589749a8ad2bcf8d8300f899ed8f7220ff7e24 100644 (file)
@@ -138,11 +138,16 @@ Don't fallback to normal dwarf2 if the symbol file cannot be found.
 .SH FILES
 Assemblies are lodaed from the installation lib directory.  If you set
 `prefix' to /usr, the assemblies will be located in /usr/lib.
+.PP
+/etc/mono/config, ~/.mono/config
+.IP
+Mono runtime configuration file.  See the mono-config(5) manual page
+for more information.
 .SH MAILING LISTS
 Visit http://mail.ximian.com/mailman/mono-list for details.
 .SH WEB SITE
 Visit: http://www.go-mono.com for details
 .SH SEE ALSO
-.BR mint(1), monodis(1)
+.BR mcs(1), mint(1), monodis(1), mono-config(5)