Files
kotlin-fork/README.md
T
2017-02-14 19:31:29 +03:00

465 B

Kotlin-native backend

Download dependencies:

./gradlew dependencies:update

Then build the compiler:

./gradlew dist

After that you should be able to compile your programs like that:

./dist/bin/konanc hello.kt -o hello

For an optimized compilation use -opt:

./dist/bin/konanc hello.kt -o hello -opt

For some tests, use:

./gradlew backend.native:tests:run

To run blackbox compiler tests from JVM Kotlin use (takes time):

./gradlew run_external