.\" 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