avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] How to skip c-runtime init


From: Šak Andrej
Subject: RE: [avr-gcc-list] How to skip c-runtime init
Date: Wed, 18 May 2005 08:49:13 +0200

You can try -nostartfiles option for linking.

from  man avr-gcc:

  -nostartfiles
           Do not use the standard system startup files when linking.  The
           standard system libraries are used normally, unless -nostdlib or
           -nodefaultlibs is used.

Andrej



> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden 
> On Behalf Of Larry Barello
> Sent: Tuesday, May 17, 2005 3:11 PM
> To: AVR GCC List
> Subject: [avr-gcc-list] How to skip c-runtime init
> 
> I would like to use GCC and skip the c-runtime init module 
> completely (I'll initialize my few variables at the start of 
> "main()").  I am writing a bootloader, of course...
> 
> I vaguely recall doing this in the past, but cannot remember 
> how it is done, nor find it in the libc FAQ.
> 
> TIA.
> 
> ----
> Larry Barello
> http://www.barello.net
> 
> 
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]