bugAVR C Runtime Library - Bugs: bug #38125, Distribute gcrt1.S


You are not allowed to post comments on this tracker with your current authentication level.

bug #38125: Distribute gcrt1.S

Submitter:  Georg-Johann Lay <gjlayde>
Submitted:  Sun 20 Jan 2013 03:15:31 PM UTC
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Startup code
Status:  Need Info Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Release:  1.8.0 Fixed Release:  None

Mon 25 Aug 2014 04:04:48 PM UTC, comment #2: 

I'd propose in a place that's part of the default include path so that it can be dragged by #include "<optional-path>/gcrt1.S". Maybe in ./avr/include/util ?

Unfortunately gcrt1.S has some dependencies (macros.inc) and some awkward includes (#inclule IOSYMFILE) whith make it harder to (re)use the startup code.

Georg-Johann Lay <gjlayde>
Mon 11 Aug 2014 10:27:46 PM UTC, comment #1: 

Do you have a suggestion about where to install it?

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 20 Jan 2013 03:15:31 PM UTC, original submission:  

The assembler source code of the startup code

./crt1/gcrt1.S -n could be added to the installation.

This makes it easier for the user to adjust the startup code and / or compiler it for devices that are not yet supported by avr-gcc as lined out in [http://gcc.gnu.org/wiki/avr-gcc#Supporting_.22unsupported.22_Devices avr-gcc Wiki: Supporting "unsupported" Devices].

The onyl dependency should be #include <avr/io.h>.

Other dependencies like macros.inc and sectionname.h can easily be avoided altogether, which makes using gcrt1.S more straigh forward.

Georg-Johann Lay <gjlayde>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by gjlayde (Submitted the item)

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-11 joerg_wunsch StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4e86.
    Corresponding source code