Initial Import

This commit is contained in:
Dave Murphy
2005-01-27 19:55:22 +00:00
commit 6483618f46
29 changed files with 18314 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
DEVKITPPC=$INSTALLDIR
#---------------------------------------------------------------------------------
# Install and build the gamecube crt and libogc
#---------------------------------------------------------------------------------
echo "installing specs ..."
cp `pwd`/dkp-crtls/gcn* $DEVKITPPC/$target/lib/
cp `pwd`/dkp-crtls/ogc.ld $DEVKITPPC/$target/lib/
cp `pwd`/dkp-crtls/specs $DEVKITPPC/lib/gcc/$target/$GCC_VER/specs
echo "building libogc ..."
cd $LIBOGC_SRCDIR
$MAKE
echo "installing libogc ..."
$MAKE install

47
dkp-scripts/build-gcc.sh Normal file
View File

@@ -0,0 +1,47 @@
prefix=$INSTALLDIR
mkdir -p $target/binutils
cd $target/binutils
../../$BINUTILS_SRCDIR/configure \
--prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \
--disable-threads --with-gcc --with-gnu-as --with-gnu-ld --with-stabs \
2>&1 | tee binutils_configure.log
$MAKE | tee binutils_make.log 2>&1
$MAKE install | tee binutils_install.log 2>&1
cd $BUILDSCRIPTDIR
mkdir -p $target/gcc
cd $target/gcc
../../$GCC_SRCDIR/configure \
--enable-languages=c,c++ \
--with-cpu=750\
--with-gcc --with-gnu-ld --with-gnu-as --with-stabs \
--disable-nls --disable-shared --disable-threads --disable-multilib\
--disable-win32-registry\
--target=$target \
--with-newlib \
--prefix=$prefix -v\
2>&1 | tee gcc_configure.log
$MAKE all-gcc | tee gcc_make.log 2>&1
$MAKE install-gcc | tee gcc_install.log 2>&1
cd $BUILDSCRIPTDIR
mkdir -p $target/newlib
cd $target/newlib
../../$NEWLIB_SRCDIR/configure --target=$target --prefix=$prefix | tee newlib_configure.log 2>&1
$MAKE all | tee newlib_make.log 2>&1
$MAKE install | tee newlib_install.log 2>&1
cd $BUILDSCRIPTDIR
cd $target/gcc
$MAKE | tee gcc_final_make.log 2>&1
$MAKE install | tee gcc_final_install.log 2>&1