mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-09-30 21:36:45 -05:00
patches for devkitPSP r17
This commit is contained in:
37
dkppc/patches/binutils-2.19.1.patch
Normal file
37
dkppc/patches/binutils-2.19.1.patch
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
diff -Nbaur binutils-2.18.93/config.sub binutils-2.18.93-ppc/config.sub
|
||||||
|
--- binutils-2.18.93/config.sub 2008-04-14 10:28:35.000000000 +0100
|
||||||
|
+++ binutils-2.18.93-ppc/config.sub 2008-10-18 02:19:55.000000000 +0100
|
||||||
|
@@ -230,6 +230,10 @@
|
||||||
|
basic_machine=m68k-atari
|
||||||
|
os=-mint
|
||||||
|
;;
|
||||||
|
+ -gekko)
|
||||||
|
+ basic_machine=powerpc-devkitpro
|
||||||
|
+ os=-elf
|
||||||
|
+ ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Decode aliases for certain CPU-COMPANY combinations.
|
||||||
|
diff -Nbaur binutils-2.18.93/gas/config/tc-ppc.c binutils-2.18.93-ppc/gas/config/tc-ppc.c
|
||||||
|
--- binutils-2.18.93/gas/config/tc-ppc.c 2008-08-02 05:38:50.000000000 +0100
|
||||||
|
+++ binutils-2.18.93-ppc/gas/config/tc-ppc.c 2008-10-18 02:33:57.000000000 +0100
|
||||||
|
@@ -850,6 +850,9 @@
|
||||||
|
/* Do all PPC750s have paired single ops? */
|
||||||
|
else if (strcmp (arg, "750cl") == 0)
|
||||||
|
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_PPCPS;
|
||||||
|
+ /* PowerPC Gekko */
|
||||||
|
+ else if (strcmp (arg, "gekko") == 0)
|
||||||
|
+ ppc_cpu = PPC_OPCODE_CLASSIC | PPC_OPCODE_PPC | PPC_OPCODE_32 | PPC_OPCODE_PPCPS;
|
||||||
|
else if (strcmp (arg, "403") == 0)
|
||||||
|
ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC
|
||||||
|
| PPC_OPCODE_403 | PPC_OPCODE_32);
|
||||||
|
@@ -1145,7 +1148,8 @@
|
||||||
|
-m464 generate code for PowerPC 464\n\
|
||||||
|
-m7400, -m7410, -m7450, -m7455\n\
|
||||||
|
generate code for PowerPC 7400/7410/7450/7455\n\
|
||||||
|
--m750cl generate code for PowerPC 750cl\n"));
|
||||||
|
+-m750cl generate code for PowerPC 750cl\n\
|
||||||
|
+-mgekko generate code for PowerPC Gekko\n"));
|
||||||
|
fprintf (stream, _("\
|
||||||
|
-mppc64, -m620 generate code for PowerPC 620/625/630\n\
|
||||||
|
-mppc64bridge generate code for PowerPC 64, including bridge insns\n\
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
diff -Nbaur gcc-4.2.4/Makefile.in gcc-4.2.4-ppc/Makefile.in
|
diff -Nbaur gcc-4.2.4/Makefile.in gcc-4.2.4-ppc/Makefile.in
|
||||||
--- gcc-4.2.4/Makefile.in 2006-12-29 17:47:06.000000000 +0000
|
--- gcc-4.2.4/Makefile.in 2006-12-29 17:47:06.000000000 +0000
|
||||||
+++ gcc-4.2.4-ppc/Makefile.in 2008-11-23 10:37:09.000000000 +0000
|
+++ gcc-4.2.4-ppc/Makefile.in 2009-04-30 01:26:57.000000000 +0100
|
||||||
@@ -341,7 +341,7 @@
|
@@ -341,7 +341,7 @@
|
||||||
# CFLAGS will be just -g. We want to ensure that TARGET libraries
|
# CFLAGS will be just -g. We want to ensure that TARGET libraries
|
||||||
# (which we know are built with gcc) are built with optimizations so
|
# (which we know are built with gcc) are built with optimizations so
|
||||||
@@ -12,13 +12,13 @@ diff -Nbaur gcc-4.2.4/Makefile.in gcc-4.2.4-ppc/Makefile.in
|
|||||||
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
||||||
diff -Nbaur gcc-4.2.4/config.sub gcc-4.2.4-ppc/config.sub
|
diff -Nbaur gcc-4.2.4/config.sub gcc-4.2.4-ppc/config.sub
|
||||||
--- gcc-4.2.4/config.sub 2006-10-16 04:27:17.000000000 +0100
|
--- gcc-4.2.4/config.sub 2006-10-16 04:27:17.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/config.sub 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/config.sub 2009-04-30 01:28:17.000000000 +0100
|
||||||
@@ -230,6 +230,10 @@
|
@@ -230,6 +230,10 @@
|
||||||
basic_machine=m68k-atari
|
basic_machine=m68k-atari
|
||||||
os=-mint
|
os=-mint
|
||||||
;;
|
;;
|
||||||
+ -gekko)
|
+ -gekko)
|
||||||
+ basic_machine=powerpc-eabi
|
+ basic_machine=powerpc-devkitpro
|
||||||
+ os=-elf
|
+ os=-elf
|
||||||
+ ;;
|
+ ;;
|
||||||
esac
|
esac
|
||||||
@@ -26,7 +26,7 @@ diff -Nbaur gcc-4.2.4/config.sub gcc-4.2.4-ppc/config.sub
|
|||||||
# Decode aliases for certain CPU-COMPANY combinations.
|
# Decode aliases for certain CPU-COMPANY combinations.
|
||||||
diff -Nbaur gcc-4.2.4/gcc/c-incpath.c gcc-4.2.4-ppc/gcc/c-incpath.c
|
diff -Nbaur gcc-4.2.4/gcc/c-incpath.c gcc-4.2.4-ppc/gcc/c-incpath.c
|
||||||
--- gcc-4.2.4/gcc/c-incpath.c 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/c-incpath.c 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/c-incpath.c 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/c-incpath.c 2009-04-30 01:26:57.000000000 +0100
|
||||||
@@ -340,13 +340,18 @@
|
@@ -340,13 +340,18 @@
|
||||||
cpp_dir *p;
|
cpp_dir *p;
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ diff -Nbaur gcc-4.2.4/gcc/c-incpath.c gcc-4.2.4-ppc/gcc/c-incpath.c
|
|||||||
p = XNEW (cpp_dir);
|
p = XNEW (cpp_dir);
|
||||||
diff -Nbaur gcc-4.2.4/gcc/config/rs6000/sysv4.h gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.h
|
diff -Nbaur gcc-4.2.4/gcc/config/rs6000/sysv4.h gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.h
|
||||||
--- gcc-4.2.4/gcc/config/rs6000/sysv4.h 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/config/rs6000/sysv4.h 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.h 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.h 2009-04-30 01:26:57.000000000 +0100
|
||||||
@@ -651,7 +651,11 @@
|
@@ -651,7 +651,11 @@
|
||||||
|
|
||||||
/* Default starting address if specified. */
|
/* Default starting address if specified. */
|
||||||
@@ -213,7 +213,7 @@ diff -Nbaur gcc-4.2.4/gcc/config/rs6000/sysv4.h gcc-4.2.4-ppc/gcc/config/rs6000/
|
|||||||
{ "cpp_os_mvme", CPP_OS_MVME_SPEC }, \
|
{ "cpp_os_mvme", CPP_OS_MVME_SPEC }, \
|
||||||
diff -Nbaur gcc-4.2.4/gcc/config/rs6000/sysv4.opt gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.opt
|
diff -Nbaur gcc-4.2.4/gcc/config/rs6000/sysv4.opt gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.opt
|
||||||
--- gcc-4.2.4/gcc/config/rs6000/sysv4.opt 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/config/rs6000/sysv4.opt 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.opt 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/config/rs6000/sysv4.opt 2009-04-30 01:26:57.000000000 +0100
|
||||||
@@ -107,6 +107,26 @@
|
@@ -107,6 +107,26 @@
|
||||||
Target RejectNegative
|
Target RejectNegative
|
||||||
Link with libads.a, libc.a and crt0.o
|
Link with libads.a, libc.a and crt0.o
|
||||||
@@ -243,7 +243,7 @@ diff -Nbaur gcc-4.2.4/gcc/config/rs6000/sysv4.opt gcc-4.2.4-ppc/gcc/config/rs600
|
|||||||
Link with libyk.a, libc.a and crt0.o
|
Link with libyk.a, libc.a and crt0.o
|
||||||
diff -Nbaur gcc-4.2.4/gcc/gcc.c gcc-4.2.4-ppc/gcc/gcc.c
|
diff -Nbaur gcc-4.2.4/gcc/gcc.c gcc-4.2.4-ppc/gcc/gcc.c
|
||||||
--- gcc-4.2.4/gcc/gcc.c 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/gcc.c 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/gcc.c 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/gcc.c 2009-04-30 01:26:57.000000000 +0100
|
||||||
@@ -3369,8 +3369,6 @@
|
@@ -3369,8 +3369,6 @@
|
||||||
gcc_libexec_prefix = make_relative_prefix (argv[0],
|
gcc_libexec_prefix = make_relative_prefix (argv[0],
|
||||||
standard_bindir_prefix,
|
standard_bindir_prefix,
|
||||||
@@ -277,7 +277,7 @@ diff -Nbaur gcc-4.2.4/gcc/gcc.c gcc-4.2.4-ppc/gcc/gcc.c
|
|||||||
if (access (specs_file, R_OK) == 0)
|
if (access (specs_file, R_OK) == 0)
|
||||||
diff -Nbaur gcc-4.2.4/gcc/prefix.c gcc-4.2.4-ppc/gcc/prefix.c
|
diff -Nbaur gcc-4.2.4/gcc/prefix.c gcc-4.2.4-ppc/gcc/prefix.c
|
||||||
--- gcc-4.2.4/gcc/prefix.c 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/prefix.c 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/prefix.c 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/prefix.c 2009-04-30 01:26:57.000000000 +0100
|
||||||
@@ -245,13 +245,16 @@
|
@@ -245,13 +245,16 @@
|
||||||
The returned string is always malloc-ed, and the caller is
|
The returned string is always malloc-ed, and the caller is
|
||||||
responsible for freeing it. */
|
responsible for freeing it. */
|
||||||
@@ -306,7 +306,7 @@ diff -Nbaur gcc-4.2.4/gcc/prefix.c gcc-4.2.4-ppc/gcc/prefix.c
|
|||||||
}
|
}
|
||||||
diff -Nbaur gcc-4.2.4/gcc/stor-layout.c gcc-4.2.4-ppc/gcc/stor-layout.c
|
diff -Nbaur gcc-4.2.4/gcc/stor-layout.c gcc-4.2.4-ppc/gcc/stor-layout.c
|
||||||
--- gcc-4.2.4/gcc/stor-layout.c 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/stor-layout.c 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/stor-layout.c 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/stor-layout.c 2009-04-30 01:26:58.000000000 +0100
|
||||||
@@ -530,7 +530,15 @@
|
@@ -530,7 +530,15 @@
|
||||||
#ifdef STRUCTURE_SIZE_BOUNDARY
|
#ifdef STRUCTURE_SIZE_BOUNDARY
|
||||||
/* Packed structures don't need to have minimum size. */
|
/* Packed structures don't need to have minimum size. */
|
||||||
@@ -326,7 +326,7 @@ diff -Nbaur gcc-4.2.4/gcc/stor-layout.c gcc-4.2.4-ppc/gcc/stor-layout.c
|
|||||||
rli->offset = size_zero_node;
|
rli->offset = size_zero_node;
|
||||||
diff -Nbaur gcc-4.2.4/gcc/toplev.c gcc-4.2.4-ppc/gcc/toplev.c
|
diff -Nbaur gcc-4.2.4/gcc/toplev.c gcc-4.2.4-ppc/gcc/toplev.c
|
||||||
--- gcc-4.2.4/gcc/toplev.c 2007-09-01 16:28:30.000000000 +0100
|
--- gcc-4.2.4/gcc/toplev.c 2007-09-01 16:28:30.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/gcc/toplev.c 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/toplev.c 2009-04-30 01:26:58.000000000 +0100
|
||||||
@@ -81,6 +81,7 @@
|
@@ -81,6 +81,7 @@
|
||||||
#include "value-prof.h"
|
#include "value-prof.h"
|
||||||
#include "alloc-pool.h"
|
#include "alloc-pool.h"
|
||||||
@@ -348,13 +348,13 @@ diff -Nbaur gcc-4.2.4/gcc/toplev.c gcc-4.2.4-ppc/gcc/toplev.c
|
|||||||
/* Unlock the stdio streams. */
|
/* Unlock the stdio streams. */
|
||||||
diff -Nbaur gcc-4.2.4/gcc/version.c gcc-4.2.4-ppc/gcc/version.c
|
diff -Nbaur gcc-4.2.4/gcc/version.c gcc-4.2.4-ppc/gcc/version.c
|
||||||
--- gcc-4.2.4/gcc/version.c 2005-03-16 06:04:10.000000000 +0000
|
--- gcc-4.2.4/gcc/version.c 2005-03-16 06:04:10.000000000 +0000
|
||||||
+++ gcc-4.2.4-ppc/gcc/version.c 2008-10-18 05:11:48.000000000 +0100
|
+++ gcc-4.2.4-ppc/gcc/version.c 2009-04-30 14:35:09.000000000 +0100
|
||||||
@@ -8,7 +8,7 @@
|
@@ -8,7 +8,7 @@
|
||||||
in parentheses. You may also wish to include a number indicating
|
in parentheses. You may also wish to include a number indicating
|
||||||
the revision of your modified compiler. */
|
the revision of your modified compiler. */
|
||||||
|
|
||||||
-#define VERSUFFIX ""
|
-#define VERSUFFIX ""
|
||||||
+#define VERSUFFIX " (devkitPPC release 15)"
|
+#define VERSUFFIX " (devkitPPC release 17)"
|
||||||
|
|
||||||
/* This is the location of the online document giving instructions for
|
/* This is the location of the online document giving instructions for
|
||||||
reporting bugs. If you distribute a modified version of GCC,
|
reporting bugs. If you distribute a modified version of GCC,
|
||||||
@@ -369,7 +369,7 @@ diff -Nbaur gcc-4.2.4/gcc/version.c gcc-4.2.4-ppc/gcc/version.c
|
|||||||
BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile. */
|
BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile. */
|
||||||
diff -Nbaur gcc-4.2.4/libcpp/Makefile.in gcc-4.2.4-ppc/libcpp/Makefile.in
|
diff -Nbaur gcc-4.2.4/libcpp/Makefile.in gcc-4.2.4-ppc/libcpp/Makefile.in
|
||||||
--- gcc-4.2.4/libcpp/Makefile.in 2008-05-19 15:28:07.000000000 +0100
|
--- gcc-4.2.4/libcpp/Makefile.in 2008-05-19 15:28:07.000000000 +0100
|
||||||
+++ gcc-4.2.4-ppc/libcpp/Makefile.in 2008-11-23 10:37:37.000000000 +0000
|
+++ gcc-4.2.4-ppc/libcpp/Makefile.in 2009-04-30 01:26:58.000000000 +0100
|
||||||
@@ -196,7 +196,7 @@
|
@@ -196,7 +196,7 @@
|
||||||
# Dependency rule.
|
# Dependency rule.
|
||||||
COMPILE.base = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
|
COMPILE.base = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
|
||||||
@@ -381,7 +381,7 @@ diff -Nbaur gcc-4.2.4/libcpp/Makefile.in gcc-4.2.4-ppc/libcpp/Makefile.in
|
|||||||
$(depcomp) $(COMPILE.base)
|
$(depcomp) $(COMPILE.base)
|
||||||
diff -Nbaur gcc-4.2.4/libcpp/files.c gcc-4.2.4-ppc/libcpp/files.c
|
diff -Nbaur gcc-4.2.4/libcpp/files.c gcc-4.2.4-ppc/libcpp/files.c
|
||||||
--- gcc-4.2.4/libcpp/files.c 2006-02-18 09:25:31.000000000 +0000
|
--- gcc-4.2.4/libcpp/files.c 2006-02-18 09:25:31.000000000 +0000
|
||||||
+++ gcc-4.2.4-ppc/libcpp/files.c 2008-10-18 05:11:49.000000000 +0100
|
+++ gcc-4.2.4-ppc/libcpp/files.c 2009-04-30 01:26:58.000000000 +0100
|
||||||
@@ -226,6 +226,22 @@
|
@@ -226,6 +226,22 @@
|
||||||
close (file->fd);
|
close (file->fd);
|
||||||
file->fd = -1;
|
file->fd = -1;
|
||||||
|
|||||||
7236
dkppc/patches/newlib-1.17.0.patch
Normal file
7236
dkppc/patches/newlib-1.17.0.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -8,16 +8,15 @@ prefix=$INSTALLDIR/devkitPPC
|
|||||||
PLATFORM=`uname -s`
|
PLATFORM=`uname -s`
|
||||||
|
|
||||||
case $PLATFORM in
|
case $PLATFORM in
|
||||||
Darwin )
|
Darwin )
|
||||||
CONFIG_EXTRA=env CFLAGS="-O -g -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc"
|
cflags="-O -g -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
|
||||||
|
ldflags="-arch i386 -arch ppc"
|
||||||
;;
|
;;
|
||||||
MINGW32* )
|
MINGW32* )
|
||||||
CONFIG_EXTRA=env CFLAGS="-D__USE_MINGW_ACCESS"
|
cflags="-D__USE_MINGW_ACCESS"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo "$CONFIG_EXTRA"
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# build and install ppc binutils
|
# build and install ppc binutils
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
@@ -27,7 +26,7 @@ cd $target/binutils
|
|||||||
|
|
||||||
if [ ! -f configured-binutils ]
|
if [ ! -f configured-binutils ]
|
||||||
then
|
then
|
||||||
$CONFIG_EXTRA ../../$BINUTILS_SRCDIR/configure \
|
CFLAGS=$cflags LDFLAGS=$ldflags ../../$BINUTILS_SRCDIR/configure \
|
||||||
--prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \
|
--prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \
|
||||||
--with-gcc --with-gnu-as --with-gnu-ld --disable-dependency-tracking \
|
--with-gcc --with-gnu-as --with-gnu-ld --disable-dependency-tracking \
|
||||||
|| { echo "Error configuing ppc binutils"; exit 1; }
|
|| { echo "Error configuing ppc binutils"; exit 1; }
|
||||||
@@ -57,7 +56,7 @@ cd mn10200/binutils
|
|||||||
|
|
||||||
if [ ! -f configured-binutils ]
|
if [ ! -f configured-binutils ]
|
||||||
then
|
then
|
||||||
$CONFIG_EXTRA ../../$BINUTILS_SRCDIR/configure \
|
CFLAGS=$cflags LDFLAGS=$ldflags ../../$BINUTILS_SRCDIR/configure \
|
||||||
--prefix=$prefix --target=mn10200 --disable-nls --disable-shared --disable-debug \
|
--prefix=$prefix --target=mn10200 --disable-nls --disable-shared --disable-debug \
|
||||||
--with-gcc --with-gnu-as --with-gnu-ld \
|
--with-gcc --with-gnu-as --with-gnu-ld \
|
||||||
|| { echo "Error configuing mn10200 binutils"; exit 1; }
|
|| { echo "Error configuing mn10200 binutils"; exit 1; }
|
||||||
@@ -91,7 +90,7 @@ cd $target/gcc
|
|||||||
|
|
||||||
if [ ! -f configured-gcc ]
|
if [ ! -f configured-gcc ]
|
||||||
then
|
then
|
||||||
$CONFIG_EXTRA ../../$GCC_SRCDIR/configure \
|
CFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../$GCC_SRCDIR/configure \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++ \
|
||||||
--with-cpu=750\
|
--with-cpu=750\
|
||||||
--without-headers\
|
--without-headers\
|
||||||
@@ -101,7 +100,8 @@ then
|
|||||||
--target=$target \
|
--target=$target \
|
||||||
--with-newlib \
|
--with-newlib \
|
||||||
--prefix=$prefix\
|
--prefix=$prefix\
|
||||||
--disable-denpendency-tracking \
|
--disable-dependency-tracking \
|
||||||
|
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 17" \
|
||||||
2>&1 | tee gcc_configure.log
|
2>&1 | tee gcc_configure.log
|
||||||
touch configured-gcc
|
touch configured-gcc
|
||||||
fi
|
fi
|
||||||
@@ -184,24 +184,15 @@ PLATFORM=`uname -s`
|
|||||||
|
|
||||||
if [ ! -f configured-gdb ]
|
if [ ! -f configured-gdb ]
|
||||||
then
|
then
|
||||||
case $PLATFORM in
|
CFLAGS="$cflags" LDFLAGS="$ldflags" ../../$GDB_SRCDIR/configure \
|
||||||
Darwin )
|
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|
||||||
env CFLAGS="-O -g -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ../../$GDB_SRCDIR/configure \
|
|| { echo "Error configuring gdb"; exit 1; }
|
||||||
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|
|
||||||
|| { echo "Error configuring gdb"; exit 1; }
|
|
||||||
;;
|
|
||||||
* )
|
|
||||||
../../$GDB_SRCDIR/configure \
|
|
||||||
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|
|
||||||
|| { echo "Error configuring gdb"; exit 1; }
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
touch configured-gdb
|
touch configured-gdb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f built-gdb ]
|
if [ ! -f built-gdb ]
|
||||||
then
|
then
|
||||||
$CONFIG_EXTRA $MAKE || { echo "Error building gdb"; exit 1; }
|
$MAKE || { echo "Error building gdb"; exit 1; }
|
||||||
touch built-gdb
|
touch built-gdb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user