Is there a Debian 9 image file available for the TS-7970? This image file is required in order to do cross compilation which uses the chroot/qemu technique as described in this blog post. When the image is mounted the mount path is used as the build root, eg:
val amqpClientDir = "/mnt/sbc_image/home/ts_user/rabbitmq_c-0.10.0"
includeDirs("$amqpClientDir/include")
// ...
}
}
}
}
1 Comment
Michael Peters
said
5 months ago
Since the question was answered privately in our ticket system, but the question was posted publicly on the forum, I felt this answer might help anyone else with a similar question:
Nick Apperley
Is there a Debian 9 image file available for the TS-7970? This image file is required in order to do cross compilation which uses the chroot/qemu technique as described in this blog post. When the image is mounted the mount path is used as the build root, eg:
# amqp_client.def
# ...
linkerOpts.linux_arm32_hfp = -L/mnt/sbc_image/home/ts_user/rabbitmq_c-0.10.0/lib/arm-linux-gnueabihf
// build.gradle.kts
// ...
kotlin {
linuxArm32Hfp("linuxArm32") {
// ...
compilations.getByName("main") {
cinterops.create("amqp_client") {
val amqpClientDir = "/mnt/sbc_image/home/ts_user/rabbitmq_c-0.10.0"
includeDirs("$amqpClientDir/include")
// ...
}
}
}
}