sparc-rtems defines unix and ada/sysdep.c

Joel Sherrill joel.sherrill@OARcorp.com
Wed Mar 10 13:16:00 GMT 2004


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?  Can we safely turn it off?  How?
  + does gnat lose functionality if termios is not available at run-time 
build time.

--joel sherrill




More information about the Gcc mailing list