[PATCH] build SPU with -DREENTRANT_SYSCALLS_PROVIDED and -DMISSING_SYSCALL_NAMES
Jeff Johnston
jjohnstn@redhat.com
Wed Apr 2 02:03:00 GMT 2008
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
More information about the Newlib
mailing list