Provided KONAN_HOME relative -Djava.library.path.
Updated the README. Allow -output in addition to -o.
This commit is contained in:
committed by
alexander-gorshenev
parent
4dba5fdec4
commit
cc2a35408a
@@ -1,16 +1,17 @@
|
||||
# Kotlin-native backend #
|
||||
|
||||
## Build
|
||||
|
||||
Download dependencies:
|
||||
|
||||
gradle :dependencies:update
|
||||
./gradlew dependencies:update
|
||||
|
||||
To run native translator just use:
|
||||
Then build the compiler
|
||||
|
||||
gradle :backend.native:run
|
||||
./gradlew dist
|
||||
|
||||
After that you should be able to compile your programs like that:
|
||||
|
||||
./dist/bin/konanc hello.kt -o hello
|
||||
|
||||
And it will run simple example (currently prints out IR of test file).
|
||||
For more tests, use:
|
||||
|
||||
gradle :backend.native:tests:run
|
||||
./gradlew backend.native:tests:run
|
||||
|
||||
Reference in New Issue
Block a user