GNU ARM - nano.specs not found

In the past days, I tried to compile the STM32F4xx project with Ubuntu 14.04LTS , the Eclipse plugin and GNU ARM for Eclipse. Now he says he is nano.specsabsent. Here is my build log:

14:39:35 **** Incremental Build of configuration Release for project F4Test ****
make all 
Building target: F4Test.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -Wextra  -g -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"F4Test.map" --specs=nano.specs -o "F4Test.elf"  ./system/src/stm32f4-hal/stm32f4xx_hal.o ./system/src/stm32f4-hal/stm32f4xx_hal_cortex.o ./system/src/stm32f4-hal/stm32f4xx_hal_flash.o ./system/src/stm32f4-hal/stm32f4xx_hal_flash_ex.o ./system/src/stm32f4-hal/stm32f4xx_hal_flash_ramfunc.o ./system/src/stm32f4-hal/stm32f4xx_hal_gpio.o ./system/src/stm32f4-hal/stm32f4xx_hal_iwdg.o ./system/src/stm32f4-hal/stm32f4xx_hal_pcd_ex.o ./system/src/stm32f4-hal/stm32f4xx_hal_pwr.o ./system/src/stm32f4-hal/stm32f4xx_hal_pwr_ex.o ./system/src/stm32f4-hal/stm32f4xx_hal_rcc.o ./system/src/stm32f4-hal/stm32f4xx_hal_rcc_ex.o  ./system/src/newlib/_cxx.o ./system/src/newlib/_exit.o ./system/src/newlib/_sbrk.o ./system/src/newlib/_startup.o ./system/src/newlib/_syscalls.o ./system/src/newlib/_write.o ./system/src/newlib/assert.o  ./system/src/diag/Trace.o ./system/src/diag/trace_impl.o  ./system/src/cortexm/_initialize_hardware.o ./system/src/cortexm/_reset_hardware.o ./system/src/cortexm/exception_handlers.o  ./system/src/cmsis/system_stm32f4xx.o ./system/src/cmsis/vectors_stm32f4xx.o  ./src/BlinkLed.o ./src/Timer.o ./src/_initialize_hardware.o ./src/main.o   
arm-none-eabi-g++: error: nano.specs: No such file or directory
make: *** [F4Test.elf] Error 1

14:39:35 Build Finished (took 65ms)

I found several files nano.specson my computer. What should I do? Just remove the linker flag (I can't do this because I can't figure out how to do this in Eclipse) or something else? Thank you for your help!

+4
source share
3 answers

. arm-none-eabi-xxx, Ubuntu, - . , , - toolchain . !

+3

Ubuntu - :

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

:

http://gnuarmeclipse.imtqy.com/toolchain/install/

- > , (14.04 LTS, x64 ).

32- :

$ sudo apt-get -y install lib32z1 lib32ncurses5 lib32bz2-1.0

(15.04 - ?) lib32ncurses5, Ubuntus - 12.04 e.a. - ia32-libs).

toolchain:

https://launchpad.net/gcc-arm-embedded/+download

( gcc 4.9 , , gcc 5.3).

, /usr/local - Eclipse , Eclipse $PATH.

$ cd /usr/local
$ sudo tar xf ~/Downloads/gcc-arm-none-eabi-*-linux.tar.bz2
+3

ARM Cortex-M Cortex-R, gcc-arm-embedded apt-get gcc-arm-none-eabi. , "Yotta": http://yottadocs.mbed.com/#linux-cross-compile.

0
source

All Articles