update newlib patch, fixes for mac universal

This commit is contained in:
Dave Murphy 2008-11-13 11:28:06 +00:00
parent 45e1d430a3
commit fce164ff11
4 changed files with 6902 additions and 344 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,16 @@
prefix=$INSTALLDIR/devkitARM
PLATFORM=`uname -s`
case $PLATFORM in
"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"
;;
"" )
;;
esac
#---------------------------------------------------------------------------------
# build and install binutils
#---------------------------------------------------------------------------------
@ -14,7 +24,7 @@ cd $target/binutils
if [ ! -f configured-binutils ]
then
../../$BINUTILS_SRCDIR/configure \
$CONFIG_EXTRA ../../$BINUTILS_SRCDIR/configure \
--prefix=$prefix --target=$target --disable-nls \
|| { echo "Error configuring binutils"; exit 1; }
touch configured-binutils
@ -42,7 +52,7 @@ cd $target/gcc
if [ ! -f configured-gcc ]
then
CFLAGS=-D__USE_MINGW_ACCESS ../../$GCC_SRCDIR/configure \
$CONFIG_EXTRA ../../$GCC_SRCDIR/configure \
--enable-languages=c,c++ \
--with-cpu=arm7tdmi\
--enable-interwork --enable-multilib\
@ -131,7 +141,7 @@ cd $target/gdb
if [ ! -f configured-gdb ]
then
../../$GDB_SRCDIR/configure \
$CONFIG_EXTRA ../../$GDB_SRCDIR/configure \
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|| { echo "Error configuring gdb"; exit 1; }
touch configured-gdb

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,17 @@
prefix=$INSTALLDIR/devkitPPC
PLATFORM=`uname -s`
case $PLATFORM in
"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"
;;
# "" )
# CONFIG_EXTRA=CFLAGS=-D__USE_MINGW_ACCESS
;;
esac
#---------------------------------------------------------------------------------
# build and install ppc binutils
#---------------------------------------------------------------------------------
@ -14,7 +25,7 @@ cd $target/binutils
if [ ! -f configured-binutils ]
then
../../$BINUTILS_SRCDIR/configure \
$CONFIG_EXTRA ../../$BINUTILS_SRCDIR/configure \
--prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \
--with-gcc --with-gnu-as --with-gnu-ld \
|| { echo "Error configuing ppc binutils"; exit 1; }
@ -44,7 +55,7 @@ cd mn10200/binutils
if [ ! -f configured-binutils ]
then
../../$BINUTILS_SRCDIR/configure \
$CONFIG_EXTRA ../../$BINUTILS_SRCDIR/configure \
--prefix=$prefix --target=mn10200 --disable-nls --disable-shared --disable-debug \
--with-gcc --with-gnu-as --with-gnu-ld \
|| { echo "Error configuing mn10200 binutils"; exit 1; }
@ -78,7 +89,7 @@ cd $target/gcc
if [ ! -f configured-gcc ]
then
CFLAGS=-D__USE_MINGW_ACCESS ../../$GCC_SRCDIR/configure \
$CONFIG_EXTRA ../../$GCC_SRCDIR/configure \
--enable-languages=c,c++ \
--with-cpu=750\
--without-headers\
@ -164,7 +175,7 @@ cd $target/gdb
if [ ! -f configured-gdb ]
then
../../$GDB_SRCDIR/configure \
$CONFIG_EXTRA ../../$GDB_SRCDIR/configure \
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|| { echo "Error configuring gdb"; exit 1; }
touch configured-gdb