This message was deleted.
# native
s
This message was deleted.
d
The toolChains should be accessed via the
model
block which is not available under Kotlin DSL. It's mounted as an extension on the project so it may work, we would have to try it. As for the cross-compilation, the newer core plugins (Gradle) dont have full support to map
toolChains
target to
library
target machine. Using the Nokee plugins, the target machine is mapped to the toolChains target using as a concat of the name of the os family followed by architecture name. So Linux aarch64 would be
linuxaarch64
.
m
Do you have an example for using the nokee plugin with a custom toolchain? And does that mean my toolchain name would be
nxaarch64
or
horizonaarch64
?
d
Only the name passed to
target
need to be specific. The executable name can be anything.
There is no sample but the best example is M1 toolchain support: https://github.com/nokeedev/gradle-native/issues/294#issuecomment-867978647 It should give you a good idea of how to do it.