ikvmc -V (return code: 1)
IKVM.NET Compiler version 8.1.5717.0
Copyright (C) 2002-2015 Jeroen Frijters
http://www.ikvm.net/
fatal error IKVMC5022: Unrecognized option: --version
ikvmc (return code: 0)
IKVM.NET Compiler version 8.1.5717.0
Copyright (C) 2002-2015 Jeroen Frijters
http://www.ikvm.net/
Usage: ikvmc [-options] <classOrJar1> ... <classOrJarN>
Compiler Options:
- OUTPUT FILES -
-out:<outputfile> Specify the output filename
-assembly:<name> Specify assembly name
-version:<M.m.b.r> Specify assembly version
-target:exe Build a console executable
-target:winexe Build a windows executable
-target:library Build a library
-target:module Build a module for use by the linker
-platform:<string> Limit which platforms this code can run on:
x86, x64, arm, anycpu32bitpreferred, or
anycpu. The default is anycpu.
-keyfile:<keyfilename> Use keyfile to sign the assembly
-key:<keycontainer> Use keycontainer to sign the assembly
-delaysign Delay-sign the assembly
- INPUT FILES -
-reference:<filespec> Reference an assembly (short form -r:<filespec>)
-recurse:<filespec> Recurse directory and include matching files
-exclude:<filename> A file containing a list of classes to exclude
- RESOURCES -
-fileversion:<version> File version
-win32icon:<file> Embed specified icon in output
-win32manifest:<file> Specify a Win32 manifest file (.xml)
-resource:<name>=<path> Include file as Java resource
-externalresource:<name>=<path>
Reference file as Java resource
-compressresources Compress resources
- CODE GENERATION -
-debug Generate debug info for the output file
(Note that this also causes the compiler to
generated somewhat less efficient CIL code.)
-noautoserialization Disable automatic .NET serialization support
-noglobbing Don't glob the arguments passed to main
-nojni Do not generate JNI stub for native methods
-opt:fields Remove unused private fields
-removeassertions Remove all assert statements
-strictfinalfieldsemantics Don't allow final fields to be modified outside
of initializer methods
- ERRORS AND WARNINGS -
-nowarn:<warning[:key]> Suppress specified warnings
-warnaserror Treat all warnings as errors
-warnaserror:<warning[:key]> Treat specified warnings as errors
-writeSuppressWarningsFile:<file>
Write response file with -nowarn:<warning[:key]>
options to suppress all encountered warnings
- MISCELLANEOUS -
@<filename> Read more options from file
-help Display this usage message (Short form: -?)
-nologo Suppress compiler copyright message
- ADVANCED -
-main:<class> Specify the class containing the main method
-srcpath:<path> Prepend path and package name to source file
-apartment:sta (default) Apply STAThreadAttribute to main
-apartment:mta Apply MTAThreadAttribute to main
-apartment:none Don't apply STAThreadAttribute to main
-D<name>=<value> Set system property (at runtime)
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
Set system property to enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
Set system property to disable assertions
-nostacktraceinfo Don't create metadata to emit rich stack traces
-Xtrace:<string> Displays all tracepoints with the given name
-Xmethodtrace:<string> Build tracing into the specified output methods
-privatepackage:<prefix> Mark all classes with a package name starting
with <prefix> as internal to the assembly
-time Display timing statistics
-classloader:<class> Set custom class loader class for assembly
-sharedclassloader All targets below this level share a common
class loader
-baseaddress:<address> Base address for the library to be built
-filealign:<n> Specify the alignment used for output file
-nopeercrossreference Do not automatically cross reference all peers
-nostdlib Do not reference standard libraries
-lib:<dir> Additional directories to search for references
-highentropyva Enable high entropy ASLR
-static Disable dynamic binding
-assemblyattributes:<file> Read assembly custom attributes from specified
class file.