Toolchain advice needed (for nios2 port)

Ralf Corsepius ralf.corsepius at
Tue Dec 6 06:16:11 UTC 2005

On Mon, 2005-12-05 at 17:31 +0100, Waschk,Kolja wrote:
> [Altera's changes to newlib]
> > One would have to see their newlib's sources, or the diffs of their
> > newlib-sources against the corresponding vanilla newlib version to tell
> > more about it.
> Beside adding nios2-specific subdirectories in libgloss
RTEMS doesn't use libgloss, so this shouldn't affect RTEMS at all.

>  and libc/machine
> there are some minor changes to include files and code in libc/reent.
These probably are critical.

> All
> stdio code has been touched, but only to add a "small stdio" variant with
> less functionality.

In other words, they have hacked newlib instead of properly integrating
their target :(

As "stdio-handling" is one of the fundamental core roles of newlib in
RTEMS, this needs to be carefully looked into. 
In general, such vendor supplied stdios are neither applicable nor
suitable for RTEMS, because RTEMS has its own versions in newlib.

>  Basically that are #ifdefs around existing code.
> > Normally, a newer version of newlib can simply be dropped into the GCC
> > source tree, when building GCC, without or with very little effort.
> I'll try.
Where are their sources and what is their sources' licensing?


More information about the users mailing list