Buster ArmHF Cross Compile

From embeddedTS Manuals
Revision as of 12:39, 13 August 2021 by Mpeters (talk | contribs) (Created section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Buster and probably newer Debians have simplified the cross compiler setup significantly.

To prepare the system for ARM cross-compiling, add the armhf cross-architecture to host Debian system:

sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install build-essential libncurses-dev libncursesw5-dev bc

From this point the host system is set up and ready to compile binaries for most ARMHF platforms.