Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / man / ilasm.1
1 .TH "ilasm" 1
2 .SH NAME
3 ilasm, ilasm2 \- Mono IL assembler
4 .SH SYNOPSIS
5 .B ilasm
6 [option] [source-files]
7 .PP
8 .B ilasm2
9 [option] [source-files]
10 .SH DESCRIPTION
11 ilasm is the Mono ILAsm assembler.  You can pass one or more options to
12 drive the compiler, and a set of source files.  
13 .PP
14 Use \fIilasm\fR to generate 1.0 assemblies and use \fIilasm2\fR to
15 assemble programs that use the 2.0 features (generics).
16 .PP
17 The Mono ILAsm assembler accepts options starting with / or - for mosted 
18 options. 
19 .PP
20 The Mono ILAsm assembler generates images (.exe and .dll files) that contain
21 CIL byte code that can be executed by any system that implemented a Common
22 Language Infrastructure virtual machine. 
23 .SH OPTIONS
24 .TP
25 .B \//output:<file_name>
26 Specify the output file name.
27 .TP
28 .B \//exe 
29 Generate an exe
30 .TP
31 .B \//dll
32 Generate a library
33 .TP
34 .B \//scan_only
35 Just scan the IL code and display tokens.
36 .TP
37 .B \//show_tokens
38 Show tokens as they are parsed.
39 .TP
40 .B \//show_method_def 
41 Display method information when a method is defined.
42 .TP
43 .B \//show_method_ref
44 Display method information when a method is referenced
45 .TP
46 .B \//key:KEYFILE
47 Strongname (sign) the output assembly using the key pair present in 
48 the specified strong name key file (snk). A full key pair is required
49 (i.e. delay signing is done using a .publickey directive in the sources).
50 .TP
51 .B \//key:@CONTAINER
52 Strongname (sign) the output assembly using the key pair present in 
53 the specified container.
54 .TP
55 .B \--about
56 Display information about ilasm
57 .TP
58 .B \--version
59 Display ilasm version
60 .SH SEE ALSO
61 .BR mono(1), mcs(1)
62 .SH COPYRIGHT
63 Copyright (C) 2004, 2007 Novell, Inc (http://www.novell.com)
64 .SH MAILING LISTS
65 Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details.
66 .SH WEB SITE
67 Visit: http://www.mono-project.com for details
68