Start a new topic

Debian 9 Image For Cross Compilation On A TS-7970

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")

                // ...

            }

        }

    }

}

Login or Signup to post a comment