[En-Nut-Discussion] Makefiles

Harald Kipp harald.kipp at egnite.de
Mon Sep 23 12:11:48 CEST 2013


Hi Marcin,

On 23.09.2013 11:52, Marcin Trendota wrote:
> On Wednesday 18 of September 2013 7:44:50 PM Harald Kipp wrote:
> 
>>> Here is my config file (maybe there's something wrong with it?):
>>> http://pastebin.com/F8j5H5bF
>> Defining CM3_GCC_NOLIBC is bad.
> 
> Could you explain why?

The first port of Nut/OS for ARM had been done early on the Gameboy. To
that time there was no reliable C runtime library available for this
platform. With defining ARM_GCC_NOLIBC, all essential C runtime
functions are provided by Nut/OS.

This option may be still useful for very new devices, for which no C
library exists. But for Cortex-M this never made any sense to me,
because newlib had been always available for this target.

Regards,

Harald




More information about the En-Nut-Discussion mailing list