This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[rtems] turn on part of unix directory
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "newlib at sources dot redhat dot com" <newlib at sources dot redhat dot com>
- Date: Tue, 25 Nov 2008 11:55:07 -0600
- Subject: [rtems] turn on part of unix directory
Hi,
Ralf is building RPMs with this now, so it is
time to submit this.
2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.host (*-rtems*): Turn on using
portion of unix subdirectory.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.100
diff -u -r1.100 configure.host
--- configure.host 17 Nov 2008 22:08:05 -0000 1.100
+++ configure.host 25 Nov 2008 17:54:20 -0000
@@ -341,6 +341,7 @@
*-*-rtems*) # generic RTEMS support
sys_dir=rtems
posix_dir=posix
+ unix_dir=unix
;;
a29k-*-*)
sys_dir=a29khif
@@ -533,6 +534,8 @@
*-*-rtems*)
default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_FCNTL"
+ # turn off unsupported items in posix directory
+ newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET"
;;
# VxWorks supplies its own version of malloc, and the newlib one
# doesn't work because VxWorks does not have sbrk.