https://kotlinlang.org logo
Title
s

sksk

05/29/2017, 7:33 PM
i just saw that basic windows support landed on master, so i decided to give it a try but gradle fails: https://gist.github.com/Scellow/ff2375281ee077df5a92388c36e002af do i need to do something specific for windowd ? or it is too early to test ?
s

suresh

05/30/2017, 4:50 AM
scellow: From the error it seems like JDK is needed (because of tools.jar)
o

olonho

05/30/2017, 6:03 AM
right, as with other platforms you need to use JDK, not JRE
and it's somewhat early to test, as there are several known problems
like backtrace support, missing command line tools in form of .bat files and problems with unicode support
s

suresh

05/30/2017, 8:57 PM
@olonho will kotlin-native ever get support for true cross native compilation (like in the case of golang) ?? ie creating windows executable from linux . Say i want to build all platform specific binaries form my build machine.
👍 1
@olonho just curious… I am not sure whether this does make any sense in kotlin-native.
o

olonho

05/31/2017, 5:02 AM
we do support true cross-compilation. just not for all host/target combinations, and we can add more platforms. Don't forget, we not only have to generate binaries for platforms, but to provide Kotlin bindings for target libraries, and be able to link with them. Speaking Windows, it could be possible to create binaries on Linux, if there will be significant demand.
t

tunedal

05/31/2017, 8:43 AM
I significantly demand Windows cross-compilation from Linux! 🙂 I tried to set up the Windows toolchain on the recently released ReactOS 0.4.5 (since I don't have any Windows machines) but Gradle had some issues with its cache and wouldn't run dependencies:update.