arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Cross-Compiling for arm32

Absolute pain

hashtag
Basic Compilation

Install GCC multilibarrow-up-right and the arm32 cross-platform toolchainarrow-up-right

sudo apt-get install gcc-multilib gcc-arm-linux-gnueabihf

Add the CC variable to the Makefilearrow-up-right for gcc:

hashtag
Compiling Libraries (seccomp)

Extra step required. We have to , then update to get the packages:

Finally, install libseccomp-dev for armhf:

CC=arm-linux-gnueabihf-gcc
sudo dpkg --add-architecture armhf
sudo apt-get update 
add the architecturearrow-up-right
sudo apt-get install libseccomp-dev:armhf