[En-Nut-Discussion] GCC for Cortex-M4 available on Windows?

Harald Kipp harald.kipp at egnite.de
Fri Aug 17 15:45:56 CEST 2012


Trying to build the Nut/OS libraries for usps_f405g results in

------------------------------------------------------------------------
Target : usps_f405g-cm3-gcc-bld
Command: SET PATH=e:\ethernut\nut-trunk\nut\tools\win32;%ProgramFiles(x86)%\yagarto\bin;e:\apps\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;&make clean all install
Error  : 2
------------------------------------------------------------------------
make[1]: Leaving directory `E:/ethernut/ethernut-5.0.5/usps_f405g-cm3-gcc-bld/contrib'
make -C arch
make[1]: Entering directory `E:/ethernut/ethernut-5.0.5/usps_f405g-cm3-gcc-bld/arch'
"  [CC] ../.././nut/arch/cm3/cmsis/core_cm3.c"
Assembler messages:
Error: unknown cpu `cortex-m4'
Error: unrecognized option -mcpu=cortex-m4
make[1]: *** [cm3/cmsis/core_cm3.o] Error 1
make[1]: Leaving directory `E:/ethernut/ethernut-5.0.5/usps_f405g-cm3-gcc-bld/arch'
make: *** [all] Error 2

Looks like I have to upgrade the compiler. I'm currently using the latest YAGARTO (GCC 4.6.0). Any later binary available on Windows or do I have to switch to Linux?

Regards,

Harald




More information about the En-Nut-Discussion mailing list