$ cd ~/fsl-community-bsp/build/tmp/deploy/sdk $ ./poky-glibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-2.0.1.sh
The actual installer name may be different to that used above. Just follow the prompts to complete the installation. In most cases you can simply accept the defaults.
IDE Setup
We use the CodeBlocks IDE for development and this section details how to set it up.
First, download and install CodeBlocks. Use the Ubuntu Software Centre, or the following command line:
We need to configure CodeBlocks to use our toolchain and sysroot so do the following:
Start CodeBlocks
Open Settings->Compiler
Choose ‘GNU GCC for ARM’ from ‘Selected Compiler’ and click ‘Copy’
Give your new compiler a name e.g. YOCTO compiler for Opal-6
Now click the ‘Toolchain executables’ tab and browse to your sdk installation directory. You are looking for the parent to the compilers bin directory which in our case is: /opt/poky/2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
Now fill in the Program Files by prepending ‘arm-poky-linux-gnueabi-’ to each of gcc, g++ and ar. You should end up with the following:
Add Comment