Q: Regarding add reentrant support
Mile Davidovic
david@krt.neobee.net
Thu Jan 22 20:59:00 GMT 2004
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
More information about the Newlib
mailing list