https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
s

spierce7

01/28/2023, 9:37 PM
Is there any hope for being able to compile native windows executables, and native macos executables on linux?
b

Big Chungus

01/28/2023, 9:57 PM
You can compile windows on linux already. I wouldn't hold a candle for mac xcompilation
s

spierce7

01/28/2023, 9:57 PM
You can? Maybe I missed that
b

Big Chungus

01/28/2023, 9:58 PM
You can only compile all three on macos.
Windows xcompilation landed in 1.7 i think
But you still need windows versions of c lib headers if you use cinterop which can be a major hassle to figure out
j

jw

01/29/2023, 1:35 AM
zig cc can target Mac from Linux or Windows, so it's very much doable from a technical standpoint
b

Big Chungus

01/29/2023, 8:14 AM
I'm aware that it's doable, just don't expect kmp team to ever work on it given all the other priorities
3 Views