This guide assumes:
- You have a Raspberry Pi board. Arm has tested these instructions on a Raspberry Pi 2 Model B V1.1 that runs Raspian 9.
- You compile on a Linux virtual machine. Arm has tested these instructions on an Ubuntu 16.04 virtual machine that runs on MacOS and Windows 10.
You must install the following software tools on your virtual machine:
Git A version control system software developers use for source code management.
Scons An open-source software construction tool.
GNU C and C++ compilers for the armhf architecture The Raspberry Pi uses the armhf Arm architecture.
Curl A tool for transferring data to or from a Linux or Unix-like server.
GNU Autoconf A tool for producing configure scripts for building, installing and packaging software.
GNU libtool A generic library support script.
CMake An open-source and cross-platform family of tools for building, testing, and packaging software.
To install the tools you require, open a command window and enter the following commands:
sudo apt-get install git sudo apt-get install scons sudo apt-get install gcc-arm-linux-gnueabihf sudo apt-get install g++-arm-linux-gnueabihf sudo apt-get install curl sudo apt-get install autoconf sudo apt-get install libtool sudo apt-get install cmake