OS specific machine/*.h include files

Joel Sherrill <joel@OARcorp.com> joel.sherrill@OARcorp.com
Mon Oct 7 13:26:00 GMT 2002

This patch is a bit more involved than the others.  This
patch makes it possible for an OS (sysdir) to have include
files in a machine subdirectory.  We ran across this trying
to deal with some of the BSD-ish things in RTEMS.  Newlib
really needed to own the RTEMS specific machine/limits.h file
but without this patch, it can't.

NOTE:  Neither this patch not the ARM submitted a few minutes
       includes the regenerated Makefile.in.

OK to commit?

2002-10-07      Joel Sherrill <joel@OARcorp.com>

        * libc/sys/rtems/machine: New directory.
        * libc/sys/rtems/machine/limits.h,
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems
        targets more BSD like when installed without requiring
        build of RTEMS itself.
        * Makefile.am: Pick up system dependent machine files such as
        found on a BSD-ish system.
        * libc/include/machine/types.h: When on an RTEMS target, define
        few more. 

Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the Newlib mailing list