Am I able to cross compile Kotlin/Native to arbitr...
# kotlin-native
r
Am I able to cross compile Kotlin/Native to arbitrary targets? For instance with Rust (uses LLVM so it's a decent parallel) allows me to specify custom targets, and the linker to use with that target
g
Yes, it's possible, but not for all platform/target pairs
r
I'd like to target arm-unknown-linux-gnueabi, and i have a GCC compiler toolchain for that target that can link the object files together, how would I set up the project to cross compile?
g
Hm, I see what you mean, I don’t know is it possible or not to provide custom platform, out of the box there are some cross-compiled target: https://github.com/JetBrains/kotlin-native/blob/v1.3.0/RELEASE_NOTES.md#supported-platforms