This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[patch,rtems] Let rtems target default to c99-io-formats
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: Newlib List <newlib at sources dot redhat dot com>
- Date: Mon, 01 Dec 2008 08:13:21 +0100
- Subject: [patch,rtems] Let rtems target default to c99-io-formats
Hi,
RTEMS now uses c99-io-formats. Therefore we would like to see newlib
default to it for *-rtems* targets.
Patch enclosed below.
Ralf
2008-12-01 Ralf CorsÃpius <ralf.corsepius@rtems.org>
* configure.host: Let *rtems* default to c99-formats.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.101
diff -u -r1.101 configure.host
--- configure.host 27 Nov 2008 20:50:31 -0000 1.101
+++ configure.host 1 Dec 2008 07:09:03 -0000
@@ -533,6 +533,7 @@
# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that.
*-*-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"
# 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"