This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[patch,rtems] configure.host: rework *rtems-clause
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Cc: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Tue, 22 Sep 2009 06:44:25 +0200
- Subject: [patch,rtems] configure.host: rework *rtems-clause
Hi,
The patch below contains the configure.host settings RTEMS currently
uses.
Ralf
2009-09-22 Ralf CorsÃpius <ralf.corsepius@rtems.org>
* configure.host (*-rtems*):
Remove -DMISSING_SYSCALL_NAMES.
Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.106
diff -u -r1.106 configure.host
--- configure.host 22 Apr 2009 19:52:49 -0000 1.106
+++ configure.host 22 Sep 2009 04:33:11 -0000
@@ -543,9 +543,9 @@
*-*-rtems*)
default_newlib_io_long_long="yes"
default_newlib_io_c99_formats="yes"
- newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_FCNTL"
+ newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -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"
+ newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN"
;;
# VxWorks supplies its own version of malloc, and the newlib one
# doesn't work because VxWorks does not have sbrk.