This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] build SPU with -DREENTRANT_SYSCALLS_PROVIDED and -DMISSING_SYSCALL_NAMES


Patch checked in. I modified it slightly to break up the flag setting into multiple lines.

-- Jeff J.

Patrick Mansfield wrote:
I decided it is best to leave the signal code as-is (don't define
SIGNAL_PROVIDED), so signal and all will still be available though they
are not very useful on SPU.

newlib ChangeLog:

2008-03-27 Patrick Mansfield <patmans@us.ibm.com>

	* configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
	  -DMISSING_SYSCALL_NAMES.

Index: quilt/newlib/configure.host
===================================================================
--- quilt.orig/newlib/configure.host
+++ quilt/newlib/configure.host
@@ -268,7 +268,7 @@ case "${host_cpu}" in
 	stdio_dir=
 	libm_machine_dir=spu
 	machine_dir=spu
-	newlib_cflags="${newlib_cflags} -D_POSIX_MODE -ffunction-sections -fdata-sections "
+	newlib_cflags="${newlib_cflags} -D_POSIX_MODE -DREENTRANT_SYSCALLS_PROVIDED -DMISSING_SYSCALL_NAMES -ffunction-sections -fdata-sections "
 	;;
   *)
 	echo '***' "Newlib does not support CPU ${host_cpu}" 1>&2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]