This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Q: Regarding add reentrant support
- From: Mile Davidovic <david at krt dot neobee dot net>
- To: newlib at sources dot redhat dot com
- Date: Thu, 22 Jan 2004 19:17:03 +0100
- Subject: Q: Regarding add reentrant support
- Reply-to: david at krt dot neobee dot net
Hi everybody
I have stupid question:
in newlib-1.10 I build newlib with support for reentrants calls with
adding in newlib/newlib/configure.host next couple of lines:
newlib_cflags="$(newlib_cflags) -DREENTRANT_SYSCALLS_PROVIDED"
syscall_dir=syscalls
for our target.
I try to do same thing on same file for newlib-1.11.0 but when we add:
mips-mded-elf-gcc -B/Mded3.4/src/n/mips-mded-elf/newlib/ -isystem
/Mded3.4/src/n/mips-mded-elf/newlib/targ-include -isystem
/Mded3.4/src/newlib.a/newlib/libc/include -DPACKAGE=\"newlib\"
-DVERSION=\"1.11.0\" -I. -I../../../../../newlib.a/newlib/libc/ctype
-DREENTRANT_SYSCALLS_PROVIDED -DMISSING_SYSCALL_NAMES -fno-builtin
-O2 -g -O2 -O2 -g -O2 -c
../../../../../newlib.a/newlib/libc/ctype/_tolower.c
I got MISSING_SYSCALL_NAMES macro defined, this macro is undefined in
newlib-1.10 with same configuration.
What I made wrong?
Thank in advice.
Mile