1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
|
.\" Originally generated by help2man 1.44.1.
.TH FSHARPC "1" "February 2014" "fsharpc 3.0.34" "User Commands"
.SH NAME
fsharpc \- manual page for F# 3.0 Compiler (Open Source Edition)
.SH DESCRIPTION
Compiler for the F# language, version 3.0
.SH SYNOPSIS
\fBfsharpc\fR [\fIoptions\fR...] \fIfile\fR [\fIfile\fR...]
.SH OPTIONS
.SS "OUTPUT FILES"
.TP
\fB\-\-out\fR:\fIfile\fR, \fB\-o\fR \fIfile\fR
Name of the output file
.TP
\fB\-\-target\fR:exe
Build a console executable
.TP
\fB\-\-target\fR:winexe
Build a Windows executable
.TP
\fB\-\-target\fR:library, \fB\-a\fR
Build a library
.TP
\fB\-\-target\fR:module
Build a module that can be added to another assembly
.TP
\fB\-\-delaysign\fR[+|\-]
Delay\-sign the assembly using only the public portion of the strong name key
.TP
\fB\-\-doc\fR:\fIfile\fR
Write the xmldoc of the assembly to the given file
.TP
\fB\-\-keyfile\fR:\fIfile\fR
Specify a strong name key file
.TP
\fB\-\-keycontainer\fR:\fIstring\fR
Specify a strong name key container
.TP
\fB\-\-platform\fR:\fIstring\fI
Limit which platforms this code can run on: \fIx86\fR, \fIItanium\fR,
\fIx64\fR, \fIanycpu32bitpreferred\fR, or \fIanycpu\fR.
The default is \fIanycpu\fR.
.TP
\fB\-\-nooptimizationdata\fR
Only include optimization information essential for implementing
inlined constructs. Inhibits cross\-module inlining but improves
binary compatibility.
.TP
\fB\-\-nointerfacedata\fR
Don't add a resource to the generated assembly containing F#\-specific
metadata
.TP
\fB\-\-sig\fR:\fIfile\fR
Print the inferred interface of the assembly to a file
.SS "INPUT FILES"
.TP
\fB\-\-reference\fR:\fIfile\fR, \fB\-r\fR \fIfile\fR
Reference an assembly
.SS "RESOURCES"
.TP
\fB\-\-win32res\fR:\fIfile\fR
Specify a Win32 resource file (.res)
.TP
\fB\-\-win32manifest\fR:\fIfile\fR
Specify a Win32 manifest file
.TP
\fB\-\-nowin32manifest\fR
Do not include the default Win32 manifest
.TP
\fB\-\-resource\fR:\fIfile\fR[,\fIstring_name\fR[,public|private]]
Embed the specified managed resource
.TP
\fB\-\-linkresource\fR:\fIfile\fR[,\fIstring_name\fR[,public|private]]
Link the specified resource to this assembly
.SS "CODE GENERATION"
.TP
\fB\-\-debug\fR[+|\-], \fB-g\fR
Emit debug information
.TP
\fB\-\-debug\fR:[full|pdbonly]
Specify debugging type: \fIfull\fR, \fIpdbonly\fR. \fIfull\fR is the
default and enables attaching a debugger to a running program.
.TP
\fB\-\-optimize\fR[+|\-], \fB\-O\fR
Enable optimizations
.TP
\fB\-\-tailcalls\fR[+|\-]
Enable tailcalls
.TP
\fB\-\-crossoptimize\fR[+|\-]
Enable cross\-module optimizations
.SS "ERRORS AND WARNINGS"
.TP
\fB\-\-warnaserror\fR[+|\-]
Report all warnings as errors
.TP
\fB\-\-warnaserror\fR[+|\-]:\fIwarn\fR[;\fIwarn\fR[;...]]
Report specific warnings as errors
.TP
\fB\-\-warn\fR:\fIn\fR
Set a warning level (0\-5)
.TP
\fB\-\-nowarn\fR:\fIwarn\fR[;\fIwarn\fR[;...]]
Disable specific warning messages
.TP
\fB\-\-warnon\fR:\fIwarn\fR[;\fIwarn\fR[;...]]
Enable specific warnings that may be off by default
.TP
\fB\-\-consolecolors\fR[+|\-]
Output warning and error messages in color
.SS "LANGUAGE"
.TP
\fB\-\-checked\fR[+|\-]
Generate overflow checks
.TP
\fB\-\-define\fR:\fIstring\fR, \fB\-d\fR \fIstring\fR
Define conditional compilation symbols
.TP
\fB\-\-mlcompatibility\fR
Ignore ML compatibility warnings
.SS "MISCELLANEOUS"
.TP
\fB\-\-nologo\fR
Suppress compiler copyright message
.TP
\fB\-\-help\fR, \fB\-?\fR
Display this usage message
.SS "ADVANCED"
.TP
\fB\-\-codepage\fR:\fIn\fR
Specify the codepage used to read source files
.TP
\fB\-\-utf8output\fR
Output messages in UTF\-8 encoding
.TP
\fB\-\-fullpaths\fR
Output messages with fully qualified paths
.TP
\fB\-\-lib\fR:\fIdir\fR[;\fIdir\fR[;...]], \fB\-I\fR \fIdir\fR[;\fIdir\fR[;...]]
Specify a directory for the include path which is used to resolve
source files and assemblies
.TP
\fB\-\-baseaddress\fR:\fIaddress\fR
Base address for the library to be built
.TP
\fB\-\-noframework\fR
Do not reference the default CLI assemblies by default
.TP
\fB\-\-standalone\fR
Statically link the F# library and all referenced DLLs that depend on
it into the assembly being generated
.TP
\fB\-\-staticlink\fR:\fIassembly\fR
Statically link the given assembly and all referenced DLLs that depend
on this assembly. Use an assembly name e.g. \fImylib\fR, not a DLL name.
.TP
\fB\-\-resident\fR
Use a resident background compilation service to improve compiler
startup times.
.TP
\fB\-\-pdb\fR:\fIfile\fR
Name the output debug file
.TP
\fB\-\-simpleresolution\fR
Resolve assembly references using directory\-based rules rather than
MSBuild resolution
.TP
\fB\-\-highentropyva\fR[+|\-]
Enable high\-entropy ASLR
.TP
\fB\-\-subsystemversion\fR:\fIstring\fR
Specify subsystem version of this assembly
|