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:
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!