Hi, I'm trying to cross compile to arm64 and fail at it.
Lets assume I have a sysroot of may arm system at $ARM_SYSROOT.
When I just set the linker in the Config.toml
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
I get lots of skipped incompatible messages in the final link step as I would expect.
However when I specify the paths via the usual PGK_CONFIG variables I get an error while compiling r2r, namely that linking with "cc" failed because the libs in my sysroot are not x86-64.
My guess is it tries to link something for the build.rs with the host cc and uses the paths for the cross build.
Could you give me guidance on how to do this? I would like to if possible, avoid qemu.
Hi, I'm trying to cross compile to arm64 and fail at it.
Lets assume I have a sysroot of may arm system at $ARM_SYSROOT.
When I just set the linker in the Config.toml
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
I get lots of skipped incompatible messages in the final link step as I would expect.
However when I specify the paths via the usual PGK_CONFIG variables I get an error while compiling r2r, namely that linking with "cc" failed because the libs in my sysroot are not x86-64.
My guess is it tries to link something for the build.rs with the host cc and uses the paths for the cross build.
Could you give me guidance on how to do this? I would like to if possible, avoid qemu.