Software floating point Linaro Toolchain 2012.03

From RidgeRun Developer Wiki

Downloading Toolchain

Linaro toolchain Download Link

Creating directory to hold the toolchain

Run the following commands to create the directory to hold the toolchain and allow anyone to write to that directory.

sudo mkdir -p /opt/linaro
sudo chmod ugo+wrx /opt/linaro

Install the toolchain

Run the following command to untar the toolchain and copy it to the install directory.

tar -xjf gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux.tar.bz2 -C /opt/linaro

Now, you are able to use the Linaro software floating point toolchain.

Steps to select Linaro toochain for building the SDK

In order to select Linaro as your toolchain you have to run the following commands on a terminal on your computer.

cd $DEVDIR
`make env`
make coreconfig

After the last command you will get an output like the following one, in there is where you choose Linaro as your toolchain for building your SDK.

...  

Selecting machine/board:
    1. mach-freescale-evm
  Which? 1

Selecting toolchain:
    1. arm-eabi-glibc-codesourcery
    2. linaro
  Which? 2

Selecting bootloader:
    1. u-boot-2013.10
  Which? 1

Selecting kernel:
    1. linux-3.0.35-4.0.0
  Which? 1

...

After that you will see the configuration menu of the SDK, where you can choose between Software Floating Point and Hardware Floating Point; in order to do that yo have to go to the next option on the menu.

Prompt: Software Floating Point/Hardware Floating Point
  Location:
    -> Toolchain Configurations
        -> Floating Point Support