I was working on a Kotlin Native/Multiplatform project intended for linuxArm
, using coroutines-core
(1.4.21) but using the macosX64
target for development on my MacBook. I was devastated when I went to finally compile for linuxArm64
that Gradle spit a bunch of errors that was, basically, coroutines-core
does not have linuxArmXX
variants.
I had previously compiled and ran a project without coroutines for the linuxArm32
and linuxArm64
targets and ran the binaries successfully on my RPi 3 (linuxArm).
Roman Elizarov himself states that one can compile for an alternate architecture on a host machine from sources: Coroutines are not built for arm ( targets linuxArm32Hfp and others) #855
How does one do this? I have a basic understanding of Gradle and I can gcc
a command line “helloworld”, but compiling an entire KN dependency from sources? Seems like alchemy.