Cross-Compiling for arm32
Absolute pain
Basic Compilation
Install GCC multilib and the arm32 cross-platform toolchain
sudo apt-get install gcc-multilib gcc-arm-linux-gnueabihfAdd the CC variable to the Makefile for gcc:
CC=arm-linux-gnueabihf-gccCompiling Libraries (seccomp)
Extra step required. We have to add the architecture, then update to get the packages:
sudo dpkg --add-architecture armhf
sudo apt-get update Finally, install libseccomp-dev for armhf:
sudo apt-get install libseccomp-dev:armhfLast updated
Was this helpful?