updates for devkitPPC r32

This commit is contained in:
Dave Murphy 2018-07-03 09:37:08 +01:00
parent 0778d4209c
commit df5a8f947a
3 changed files with 8 additions and 9 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash
#---------------------------------------------------------------------------------
# devkitARM release 49
# devkitPPC release 31
# devkitPPC release 32
# devkitA64 release 10
#---------------------------------------------------------------------------------
if [ 1 -eq 1 ] ; then
if [ 0 -eq 1 ] ; then
echo "Please use the latest release buildscripts unless advised otherwise by devkitPro staff."
echo "https://github.com/devkitPro/buildscripts/releases/latest"
echo

View File

@ -7407,17 +7407,16 @@ index eb645868b..b9a006453 100644
powerpc*-*-linux* | \
powerpc*-*-rtem* | \
diff --git a/newlib/libc/include/sys/dirent.h b/newlib/libc/include/sys/dirent.h
index a3fb5c02c..8ddd10867 100644
index a3fb5c02c..b42f0b3b1 100644
--- a/newlib/libc/include/sys/dirent.h
+++ b/newlib/libc/include/sys/dirent.h
@@ -4,10 +4,57 @@
@@ -4,10 +4,56 @@
not support <dirent.h>, we will get this file which uses #error to force
an error. */
+#ifndef _dirent_h_
+#define _dirent_h_
+
+#include <sys/iosupport.h>
+#include <sys/types.h>
+#include <sys/syslimits.h>
+
@ -7446,7 +7445,7 @@ index a3fb5c02c..8ddd10867 100644
+
+ typedef struct {
+ long int position;
+ DIR_ITER* dirData;
+ void* dirData;
+ struct dirent fileData;
+ } DIR;
+

View File

@ -97,7 +97,7 @@ then
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
--prefix=$prefix\
--with-system-zlib\
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 31" \
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 32" \
$CROSS_PARAMS \
$CROSS_GCC_PARAMS \
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
@ -139,7 +139,6 @@ then
--target=$target \
--prefix=$prefix \
--enable-newlib-mb \
--enable-newlib-hw-fp \
|| { echo "Error configuring newlib"; exit 1; }
touch configured-newlib
fi
@ -203,7 +202,8 @@ if [ ! -f configured-gdb ]
then
CFLAGS="$cflags" LDFLAGS="$ldflags" ../../gdb-$GDB_VER/configure \
--disable-nls --prefix=$prefix --target=$target --disable-werror \
$CROSS_PARAMS || { echo "Error configuring gdb"; exit 1; }
$CROSS_PARAMS \
$CROSS_GCC_PARAMS || { echo "Error configuring gdb"; exit 1; }
touch configured-gdb
fi