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


bug #38125: Distribute gcrt1.S

Submitted by:  Georg-Johann Lay <gjlayde>
Submitted on:  Sun 20 Jan 2013 03:15:31 PM UTC  
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Startup code
Status: Need InfoPercent Complete: 0%
Assigned to: NoneOpen/Closed: Open
Release: 1.8.0Fixed Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 11 Aug 2014 10:27:46 PM UTCjoerg_wunschStatusNone=>Need Info

    Back to the top

    Powered by Savane 3.1-cleanup1