Doc tweaks (#686)

This commit is contained in:
Nikolay Igotti
2017-06-20 19:52:42 +03:00
committed by GitHub
parent ed0c78167b
commit aa9592e2a5
4 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
Q: How do I run my program?
A: Define top level function `fun main(args: Array<String>)`, please ensure it's not
in a package.
in a package. Also compiler switch `-entry` could be use to make any function taking
`Array<String>` and returning `Unit` be an entry point.
Q: How do I create shared library?
A: It is not possible at the moment. Currently Kotlin/Native could be used to produce either
_Kotlin/Native_ own library format, which can be statically linked with application
or an executable for target.
or an executable for target. For example, for Android targets compiler produces shared libraries
by default (as required for _Native Activity_).