上游 · Kotlin compiler options · Native
-nomain
Assume the main entry point to be provided by external libraries.
-nopack
Don't pack the library into a klib file.
-nostdlib
Don't link with stdlib.
-opt
Enable compilation optimizations and produce a binary with better runtime performance. It's not recommended to combine it with the -g option, which lowers the optimization level.
-output name (-o name )
Set the name for the output file.
-produce output (-p output )
Specify output file kind: