Gdc & avr
alex_dovhal at yahoo.com
Sat Feb 4 05:22:04 PST 2012
"Daniel Murphy" <yebblies at nospamgmail.com> wrote:
> I'll take it you've never actually used c on a small embedded system?
> Of course you're doing all those things, if they're needed. Very low
> level programming in c does not need a runtime at all.
Probably you can stub all C runtime initializations. But why? Common C at
least adjusts stack pointer, generates interrupt jumps/calls table,
initializes data, clear bss and calls main(), doing this manually wouldn't
make code shorter.
More information about the Digitalmars-d