forked from JetBrains/kotlin-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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_). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters