Cross compilation
Cross compilation is the process of building a program on one platform (the host) to be run on another platform (the target). Cross compilation can be useful when the target platform does not have the necessary tools or resources to build the program.
To perform cross compilation, you will need a cross-compiler, which is a toolchain that includes a compiler, linker, and other tools that are specific to the target platform. You will also need to set up the build system to use the cross-compiler and specify the target platform. The installation of the necessary packages and tools for cross compiling from an x64 GNU/Linux machine to an GNU/Linux ARM architecture, the following standard tools are:
sudo apt install gcc make gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu