From 5cec043e40796be9bedf864b4147d4677411b776 Mon Sep 17 00:00:00 2001 From: Paolo Molaro Date: Mon, 18 Sep 2006 15:02:22 +0000 Subject: [PATCH] Documentation updates. svn path=/trunk/mono/; revision=65583 --- man/mono-config.5 | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/man/mono-config.5 b/man/mono-config.5 index 44fc04b619d..3f0e74c8659 100644 --- a/man/mono-config.5 +++ b/man/mono-config.5 @@ -64,6 +64,24 @@ of the P/Invoke method. .I target This is the name of the function to lookup instead of the name specified in the P/Invoke method. +.SH Mapping based on operating system and cpu +Both the +.B dllmap +and the +.B dllentry +elements allow the following two attributes which make it easy to use a single +configuration file and support multiple operating systems and architectures with +different mapping requirements: +.TP +.I os +This is the name of the operating system for which the mapping should be applied. +Allowed values are: linux, osx, solaris, freebsd, openbsd, netbsd, windows, aix, hpux. +.TP +.I cpu +This is the name of the architecture for which the mapping should be applied. +Allowed values are: x86, x86-64, sparc, ppc, s390, s390x, arm, mips, alpha, hppa, ia64. +.PP +Note that later entries will override the entries defined earlier in the file. .SH EXAMPLES The following example maps references to the `cygwin1.dll' shared library to the `libc.so.6' file. @@ -81,11 +99,15 @@ This one maps the following C# method: to .B differentfunction in -.B libdifferent.so. +.B libdifferent.so +, but to the same function in the library +.B libanother.so +when running under the Solaris operating system. .nf + .fi -- 2.25.1