bugAVR C Runtime Library - Bugs: bug #38135, Install a dummy stdfix-avrlibc.h

 
 

bug #38135: Install a dummy stdfix-avrlibc.h

Submitted by:  Georg-Johann Lay <gjlayde>
Submitted on:  Mon 21 Jan 2013 06:50:39 PM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build system
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 1.8.0Fixed Release: 1.8.1

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 03 May 2013 04:09:17 PM UTC, comment #2:

Added in SVN r2389.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Tue 22 Jan 2013 04:07:26 PM UTC, comment #1:

After a short discussion with Johann, here's a template for
the desired header:

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Mon 21 Jan 2013 06:50:39 PM UTC, original submission:

avr-gcc installs the ISO/IEC TR18037 "Embedded C" header stdfix.h in an install path prior to $target/inlude.

If avr-libc wants to hook in, it should install it's addendum to stdfix.h. There are basically two ways to do it:

1) Install it as stdfix-avrlibc.h and stdfix.h will pick
it up (preferred).

2) Use the GNU extension #include_next <stdfix.h> to include
avr-libc's stdfix.h

Stuff that avr-gcc's stdfix.h provides are basic definitions from

  • 7.18a.1 Introduction (sat, fract, accum)
  • 7.18a.3 Precision macros (IBIT, FBIT, MN, MAX, EPSILON, ...)

and maybe more stuff that's easy to implement like

  • 2.1.7.4 bits/fx/
  • 2.1.7.5 /fx/bits
  • more such basic stuff like absfx, roundfx that could

be provided with built-ins.

It would already help if you provide a dummy file that does nothing. Without even a dummy, the above includes will barf, of course. But with them, you can hook in new stuff at any time and at your option.

Georg-Johann Lay <gjlayde>

 

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

Attach File(s):
   
   
Comment:
   

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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 May 2013 04:09:17 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.8.1

    Back to the top


    Powered by Savane 3.1-cleanup