[En-Nut-Discussion] GCC and main

Harald Kipp harald.kipp at egnite.de
Wed Jan 27 09:33:42 CET 2010


Hi Thiago,

Thiago A. Corrêa wrote:

> does this make any difference for Nut/OS? We don't have a main in
> Nut/OS anyway, we have our own CRT assembly initialization for ARM and
> AVR32, which calls NutInit. Perhaps it only applies to AVR, or am I
> missing something?

IMHO, we do have main. Beside having pretty looking apps (subjective
view, I agree) it makes at least a difference in debugging. When running
Eclipse/GDB out of the box, debugging starts at main. This is quite
convenient.

Harald





More information about the En-Nut-Discussion mailing list