This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
OS specific machine/*.h include files
- From: "Joel Sherrill <joel at OARcorp dot com>" <joel dot sherrill at OARcorp dot com>
- To: newlib at sources dot redhat dot com
- Date: Mon, 07 Oct 2002 15:26:15 -0500
- Subject: OS specific machine/*.h include files
- Organization: OAR Corporation
- Reply-to: joel dot sherrill at OARcorp dot com
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/machine/param.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
newlib
targets more BSD like when installed without requiring
additional
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
a
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