2007-05-08 Jonathan Chambers <joncham@gmail.com>
[mono.git] / man / mcs.1
index 28c81389339c89b7ccca33ebc48e08b3511de74e..5cb188f4513d341511f1df34e1636cffb3504b82 100644 (file)
--- a/man/mcs.1
+++ b/man/mcs.1
@@ -67,9 +67,9 @@ Specifies the code page used to process the input files from the
 point it is specified on.  By default files will be processed in the
 Latin-1 code page.  The compiler will also automatically detect
 Unicode files that have an embedded byte mark at the beginning.   
-.TP
+.Sp
 Other popular encodings are 28591 (Latin1), 1252 (iso-8859-1) and 65001 (UTF-8).
-.TP 
+.Sp
 MCS supports a couple of shorthands: "utf8" can be used to specify utf-8 instead
 of using the cryptic 65001 and "reset" restores the automatic handling of
 code pages.  These shorthands are not available on the Microsoft compiler.
@@ -136,19 +136,29 @@ The option specifies the version of the language to use. The feature
 set is different in each C# version. This switch can be used to force
 the compiler to allow only a subset of the features.
 The possible values are:
-.nf
-
-Default - Instruct compiler to use the latest version. Equivalent
-is to omit the switch.
-
-ISO-1   - Restrict compiler to use only ISO standardized features.
+.RS
+.ne 8
+.TP
+.I "Default"
+Instruct compiler to use the latest version. Equivalent is to omit the
+switch (this currently defaults to the C# 2.0 language specification).
+.TP
+.I "ISO-1"
+Restrict compiler to use only ISO standardized features.
 The usage of features such as generics, static classes, anonymous
 methods will lead to error.
-.Sp
+.TP
+.I "linq"
+This enables the C# 3.0 support.   Only a few features of C# 3.0 have
+been implemented in the Mono C# compiler, so not everything is
+available. 
+.PP
 Notice that this flag only controls the language features available to
 the programmer, it does not control the kind of assemblies produced.
 Programs compiled with mcs will reference the 1.1 APIs, Programs
 compiled with gmcs reference the 2.0 APIs.
+.ne
+.RE
 .TP
 .I -lib:PATHLIST
 Each path specified in the comma-separated list will direct the
@@ -189,7 +199,7 @@ Used for benchmarking.  The compiler will only parse its input files.
 The compiler will invoke pkg-config --libs on the set of packages
 specified on the command line to obtain libraries and directories to
 compile the code.
-.PP
+.Sp
 This is typically used with third party components, like this:
 .nf
                $ mcs -pkg:gtk-sharp demo.cs
@@ -333,4 +343,4 @@ The Mono C# compiler was developed by Novell, Inc
 ECMA C# language standard available here:
 http://www.ecma.ch/ecma1/STAND/ecma-334.htm
 .PP
-The home page for the Mono C# compiler is at http://www.mono-project.com/CSharp_Compiler
\ No newline at end of file
+The home page for the Mono C# compiler is at http://www.mono-project.com/CSharp_Compiler