Search by Tags

Configure Toolchain - Colibri VFxx

 

Your progress

 

Overview

In this first how-to, you will go through the process of configuring the Toradex Software Development Kit (SDK) for cross-compilation of C/C++ code to the ARM architecture, which uses the GNU C Compiler (GCC).

In this lesson you will:

  • Download and setup the Toradex SDK.

Step 1

Download the Toradex SDK to the home directory of your computer.

Download the 64-bit SDK from here.

Step 2

Open the Linux terminal and go to the home directory. Install the SDK using the following commands. Use the default installation directory:

user@host:~$ cd
user@host:~$ chmod +x angstrom-glibc-x86_64-armv7at2hf-neon-v2016.12-toolchain.sh
user@host:~$ ./angstrom-glibc-x86_64-armv7at2hf-neon-v2016.12-toolchain.sh
Angstrom SDK installer version nodistro.0
=========================================
Enter target directory for SDK (default: /usr/local/oecore-x86_64):
You are about to install the SDK to "/usr/local/oecore-x86_64". Proceed[Y/n]? y

Step 3

Export the variables for cross-compilation.

Attention: You must execute this step every time you open a new terminal window or tab for cross-compilation.

. /usr/local/oecore-x86_64/environment-setup-armv7at2hf-neon-angstrom-linux-gnueabi

Warning: In the command above, notice that there is a dot and a space before the path to the script.