Altera NIOS II Support

Howland Craig D (Craig)
Fri Mar 20 14:32:00 GMT 2009

ieeefp.h says "NIOS2 can be big or little endian" and has a
__nios2_big_endian__  to decide which, the same conditionals being
checked in config.h.  But I didn't see anything that would make this a
configure option, nor a note pointing out that the decision needs to be
made (just the implication in the #if-else).  That is, how does the user
choose which endianess they're going to build with?

-----Original Message-----
From: []
On Behalf Of Joel Sherrill
Sent: Thursday, March 19, 2009 5:36 PM
Subject: Altera NIOS II Support


This is based on the Altera tools that
are available from their ftp site.
It updates their work from an old newlib
to 1.17.0.

You will have to regenerate files.  I didn't
bother to include them.

This is enough to work with RTEMS if you use
their tool port. 

2009-3-19  Joel Sherrill <>

    *, libc/include/machine/ieeefp.h,
    libc/include/machine/setjmp.h, libc/include/sys/config.h,
    libc/machine/, libc/machine/nios2/,
    libc/machine/nios2/, libc/machine/nios2/setjmp.S,
    libc/sys/rtems/machine/stdint.h, libc/sys/rtems/sys/dirent.h:
    Merge Altera NIOS II support.


More information about the Newlib mailing list