On Wed, Apr 15, 2009 at 12:22:25AM +0800, Kang Tin LAI wrote: > > My main function never return, I want to eliminate registers push/pop in > main function. > > I read the list archives, found: > OS_main - gcc 4.3.3 not implement > OS_task - gcc 4.3.3 OK but interrupt not guarantee disable > -mtiny-stack - not for what I wanted.
Isn't this part of what -ffreestanding does? -- David Kelly N4HHE, dke...@hiwaay.net ======================================================================== Whom computers would destroy, they must first drive mad. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list