Hi, I'm able to leverage kotlin native to target d...
# kotlin-native
a
Hi, I'm able to leverage kotlin native to target different platform and ABIs. Right now I'm trying to target arm32 but not hard float. I can't use android arm32 because the target device is not android. Looking up in Slack I see questions about arm32 soft float too but I haven't found anyone managing to target this specific abi. Is there a way to pass a compiler options to clang while building via konanc so that mfloat-abi can be pass as soft? Is the only solution to build kotlin-native locally and change konan.properties? Thank you a lot for your help.
n
@Arnaud Vallat : 1. What ARM based device are you trying to run Kotlin Native programs on? 2. Which OS does the ARM based device use? 3. Which ARM CPU instruction set is used by the ARM based device?
The ARM based device (if it is using a ARM Application series CPU) would need to support the ARMv7-A CPU instruction set at a minimum. For example I am using a TS-7970 industrial ARM SBC ( https://docs.embeddedarm.com/TS-7970 ) that has a quad core CPU, but is 32 bit (uses the ARMv7-A CPU instruction set). Debian Jessie is installed on the SBC (resides on the eMMC). The linuxArm32Hfp Kotlin Native target (will support any Linux distribution that uses glibc) supports that setup.