sparc-rtems defines unix and ada/sysdep.c
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Wed Mar 10 13:25:00 GMT 2004
On Wed, 2004-03-10 at 14:16, Joel Sherrill wrote:
> Hi,
>
> In trying to get gcc 3.4 to build Ada for *-rtems, I have noticed that
> sysdep.c seems
> to now be dependent on termios.h for sparc-rtems. In tracking this
> down, it seems
> as though unix is a predefine for sparc-rtems. This causes gnat to
> think that we
> should have termios installed when the run-time is built.
>
> So I am left with two issues:
>
> + why is sparc-rtems defining unix?
Because sparc-rtems-gcc is broken. It bogusly applies config-files from
sparc-solaris.
> Can we safely turn it off? How?
My attempts to fix this can be found in:
http://www.rtems.com/cgi-bin/gnatsweb.pl?database=RTEMS&cmd=view&pr=517
Ralf
More information about the Gcc
mailing list