Skip to content

Commit

Permalink
readme: Correct paths in INTEROP.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmat192 committed Aug 18, 2017
1 parent 415660f commit 756acde
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions INTEROP.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ Build the dependencies and the compiler (see `README.md`).
Prepare stubs for the system sockets library:

cd samples/socket
../../dist/bin/cinterop -def sockets.def -o sockets
../../dist/bin/cinterop -def src/main/c_interop/sockets.def \
-o sockets

Compile the echo server:

../../dist/bin/kotlinc EchoServer.kt -library sockets \
-o EchoServer
../../dist/bin/kotlinc src/main/kotlin/EchoServer.kt \
-library sockets -o EchoServer

This whole process is automated in `build.sh` script, which also support cross-compilation
to supported cross-targets with `TARGET=raspberrypi ./build.sh` (`cross_dist` target must
Expand Down

0 comments on commit 756acde

Please sign in to comment.