Fixing gnu arm toolchain issues Ubuntu vs Terry Guo

I was using the default “gcc-arm-none-eabi” package from Ubuntu 14.04 but was receiving this error message when trying to compile “nrf51-sdk”:

arm-none-eabi-gcc: error: nano.specs: No such file or directory
make: *** [blink.elf] Error 1

Searching about the issue I discovered this issue is related to Ubuntu’s gcc-arm-none-eabi package, more info see:

https://bugs.launchpad.net/gcc-arm-embedded/+bug/1309060

Then I followed the steps suggested:

$ sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi

$ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded

$ sudo apt-get update

$ sudo apt-get install gcc-arm-none-eabi

Now compilation goes fine!

Advertisements

One thought on “Fixing gnu arm toolchain issues Ubuntu vs Terry Guo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s