Permalink
Browse files

Add files via upload

  • Loading branch information...
Kenny D. Lee
Kenny D. Lee committed Feb 7, 2018
1 parent a2e5852 commit 946ba09d63bc713d12db6cd9329c05b12bc9c190
View
@@ -10,10 +10,9 @@ GNUTarget=arm-gnu-eabi
mkdir binutils
#patch -p1 -d ../binutils/2.25 -i ../../patches/binutils-2.25.patch
#patch -p1 -d ../binutils/2.25.1 -i ../../patches/binutils-2.25.1.patch
cd binutils
CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils/2.25.1/configure --prefix=$GNUBase --target=$GNUTarget --disable-nls --disable-dependency-tracking --disable-werror --enable-lto --enable-plugins --enable-poison-system-directories
CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils/2.28/configure --prefix=$GNUBase --target=$GNUTarget --disable-nls --disable-dependency-tracking --disable-werror --enable-lto --enable-plugins --enable-poison-system-directories
make
make install
cd ..
@@ -24,23 +23,25 @@ export PATH=$PATH:$GNUBase/bin
mkdir gcc
#patch -p1 -d ../gcc/4.9.2 -i ../../patches/gcc-4.9.2.patch
#patch -p1 -d ../gcc/5.3.0 -i ../../patches/gcc-5.3.0.patch
#patch -p1 -d ../gcc/7.1.0 -i ../../patches/gcc-7.1.0.patch
cd gcc
CFLAGS="$cflags" CXXFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" CXXFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../gcc/5.3.0/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as --with-gnu-ld --with-gcc --with-march=armv4t --enable-cxx-flags=-ffunction-sections --disable-libstdcxx-verbose --enable-poison-system-directories --enable-interwork --enable-multilib --disable-dependency-tracking --enable-threads --disable-win32-registry --disable-nls --disable-debug --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --target=$GNUTarget --with-newlib --with-headers=../../newlib/2.2.0/newlib/libc/include --prefix=$GNUBase --enable-lto --with-pkgversion="devkitARM release 45"
CFLAGS="$cflags" CXXFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" CXXFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../gcc/7.1.0/configure --enable-languages=c,c++,objc,obj-c++,fortran --with-gnu-as --with-gnu-ld --with-gcc --with-march=armv4t --enable-cxx-flags=-ffunction-sections --disable-libstdcxx-verbose --enable-poison-system-directories --enable-interwork --enable-multilib --disable-dependency-tracking --enable-threads --disable-win32-registry --disable-nls --disable-debug --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --target=$GNUTarget --with-newlib --with-headers=../../newlib/2.5.0/newlib/libc/include --prefix=$GNUBase --enable-lto --with-plugin-ld=ld --with-system-zlib --with-pkgversion="devkitARM release 47"
make all-gcc
make install-gcc
cd ..
mkdir newlib
#patch -R -d ../newlib/2.2.0 -i ../../patches/newlib-2.2.0.patch
#tar -xaf ../newlib/newlib-2.5.0.tar.gz
patch -p1 -d ../newlib/2.5.0 -i ../../patches/newlib-arm-2.5.0.patch
#patch -p1 -d ../newlib/2.2.0 -i ../../patches/newlib-2.2.0.patch
cd newlib
sh ../../newlib/2.2.0/configure --disable-newlib-supplied-syscalls --enable-newlib-mb --target=$GNUTarget --prefix=$GNUBase
sh ../../newlib/2.5.0/configure --disable-newlib-supplied-syscalls --enable-newlib-mb --disable-newlib-wide-orient --target=$GNUTarget --prefix=$GNUBase
make
make install
make install -j1
cd ..
cd gcc
make
make all
make install
cd ..
@@ -50,12 +51,18 @@ rm -fr $GNUBase/$GNUTarget/sys-include
cp -v ../devkitpro/rules/arm/* $GNUBase
mkdir gdb
#patch -p1 -d ../gdb/7.8.2 -i ../../patches/gdb-7.8.2.patch
cd newlib
sh ../../gdb/7.8.2/configure --disable-nls --target=$GNUTarget --prefix=$GNUBase --disable-werror --disable-dependency-tracking
#patch -p1 -d ../gdb/8.0 -i ../../patches/gdb-8.0.patch
cd gdb
sh ../../gdb/8.0/configure --disable-nls --target=$GNUTarget --prefix=$GNUBase --disable-werror --disable-dependency-tracking
make
make install
cd ../../devkitpro
cd ..
#patch -p1 -R ../gcc/7.1.0 -i ../../patches/gcc-7.1.0.patch
patch -R ../newlib/2.5.0 -i ../../patches/newlib-arm-2.5.0.patch
#patch -p1 -d ../gdb/8.0 -i ../../patches/gdb-8.0.patch
cd ../devkitpro
echo $(pwd)
View
@@ -0,0 +1,62 @@
mkdir radiofreedom
cd radiofreedom
export CFLAGS="-O2"
export CXXFLAGS="$CFLAGS"
unset LDFLAGS
GNUBase=/opt/radiofreedom/arm
GNUTarget=arm-gnu-eabi
mkdir binutils
#patch -p1 -d ../binutils/2.25 -i ../../patches/binutils-2.25.patch
#patch -p1 -d ../binutils/2.25.1 -i ../../patches/binutils-2.25.1.patch
cd binutils
CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils/2.25.1/configure --prefix=$GNUBase --target=$GNUTarget --disable-nls --disable-dependency-tracking --disable-werror --enable-lto --enable-plugins --enable-poison-system-directories
make
make install
cd ..
export PATH=$PATH:$GNUBase/bin
#export PATH=$PATH:/opt/radiofreedom/arm/bin
mkdir gcc
#patch -p1 -d ../gcc/4.9.2 -i ../../patches/gcc-4.9.2.patch
#patch -p1 -d ../gcc/5.3.0 -i ../../patches/gcc-5.3.0.patch
cd gcc
CFLAGS="$cflags" CXXFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" CXXFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../gcc/5.3.0/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as --with-gnu-ld --with-gcc --with-march=armv4t --enable-cxx-flags=-ffunction-sections --disable-libstdcxx-verbose --enable-poison-system-directories --enable-interwork --enable-multilib --disable-dependency-tracking --enable-threads --disable-win32-registry --disable-nls --disable-debug --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --target=$GNUTarget --with-newlib --with-headers=../../newlib/2.2.0/newlib/libc/include --prefix=$GNUBase --enable-lto --with-pkgversion="devkitARM release 45"
make all-gcc
make install-gcc
cd ..
mkdir newlib
#patch -R -d ../newlib/2.2.0 -i ../../patches/newlib-2.2.0.patch
#patch -p1 -d ../newlib/2.2.0 -i ../../patches/newlib-2.2.0.patch
cd newlib
sh ../../newlib/2.2.0/configure --disable-newlib-supplied-syscalls --enable-newlib-mb --target=$GNUTarget --prefix=$GNUBase
make
make install
cd ..
cd gcc
make
make install
cd ..
rm -fr $GNUBase/$GNUTarget/sys-include
# rename $GNUBase/$GNUTarget/sys-include $GNUBase/$GNUTarget/include
cp -v ../devkitpro/rules/arm/* $GNUBase
mkdir gdb
#patch -p1 -d ../gdb/7.8.2 -i ../../patches/gdb-7.8.2.patch
cd newlib
sh ../../gdb/7.8.2/configure --disable-nls --target=$GNUTarget --prefix=$GNUBase --disable-werror --disable-dependency-tracking
make
make install
cd ../../devkitpro
echo $(pwd)
sh ./arm-crtls.sh
View
@@ -5,16 +5,16 @@ GNUBase=/opt/radiofreedom/ppc
GNUTarget=powerpc-gnu-eabi
mkdir binutils-ppc
#patch -p1 -d ../binutils/2.24 -i ../../patches/binutils-2.24.patch
#patch -p1 -d ../binutils/2.27 -i ../../patches/binutils-2.27.patch
cd binutils-ppc
sh ../../binutils/2.24/configure --prefix=$GNUBase --target=$GNUTarget --disable-nls --disable-shared --disable-debug --disable-werror --enable-poison-system-directories --enable-plugins --enable-lto --disable-dependency-tracking --disable-werror
sh ../../binutils/2.27/configure --prefix=$GNUBase --target=$GNUTarget --disable-nls --disable-shared --disable-debug --enable-poison-system-directories --enable-plugins --enable-lto --disable-dependency-tracking --disable-werror
make
make install
cd ..
mkdir binutils-mn10200
cd binutils-mn10200
sh ../../binutils/2.24/configure --prefix=$GNUBase --target=mn10200 --disable-nls --disable-debug --disable-dependency-tracking --disable-werror
sh ../../binutils/2.17/configure --prefix=$GNUBase --target=mn10200 --disable-nls --disable-debug --disable-dependency-tracking --disable-werror
make
make install
cd ..
@@ -23,18 +23,19 @@ export PATH=$PATH:$GNUBase/bin
#export PATH=$PATH:/opt/radiofreedom/ppc/bin
mkdir gcc
#patch -p1 -d ../gcc/4.8.2 -i ../../patches/gcc-4.8.2.patch
#patch -p1 -d ../gcc/6.3.0 -i ../../patches/gcc-6.3.0.patch
cd gcc
sh ../../gcc/4.8.2/configure --enable-languages=c,c++,objc --enable-lto --with-cpu=750 --disable-nls --disable-shared --enable-threads --disable-multilib --disable-win32-registry --disable-libstdcxx-pch --target=$GNUTarget --with-newlib --with-headers=../../newlib/2.0.0/newlib/libc/include --prefix=$GNUBase --disable-dependency-tracking --with-pkgversion=devkitPPC
#release 27
sh ../../gcc/6.3.0/configure --enable-languages=c,c++,objc,obj-c++,fortran --enable-plugins --enable-lto --with-plugin-ld=ld --with-cpu=750 --disable-nls --disable-shared --enable-threads --disable-multilib --disable-win32-registry --disable-libstdcxx-pch --disable-libstdcxx-verbose --enable-cxx-flags='-ffunction-sections -fdata-sections' --target=$GNUTarget --with-newlib --with-headers=../../newlib/2.5.0/newlib/libc/include --prefix=$GNUBase --with-system-zlib --disable-dependency-tracking --with-pkgversion=devkitPPC
#release 29-1
make all-gcc
make install-gcc
cd ..
mkdir newlib
#patch -p1 -d ../newlib/2.0.0 -i ../../patches/newlib-2.0.0.patch
#tar -xaf ../newlib/newlib-2.5.0.tar.gz
patch -p1 -d ../newlib/2.5.0 -i ../../patches/newlib-ppc-2.5.0.patch
cd newlib
sh ../../newlib/2.0.0/configure --target=$GNUTarget --prefix=$GNUBase --enable-newlib-mb --enable-newlib-hw-fp
sh ../../newlib/2.5.0/configure --target=$GNUTarget --prefix=$GNUBase --enable-newlib-mb --enable-newlib-hw-fp
make
make install
cd ..
@@ -52,9 +53,9 @@ rmdir $GNUBase/$GNUTarget/sys-include
cp -v ../devkitpro/rules/ppc/* $GNUBase
mkdir gdb
#patch -p1 -d ../gdb/7.7 -i ../../patches/gdb-7.7.patch
#patch -p1 -d ../gdb/7.11 -i ../../patches/gdb-7.11.patch
cd newlib
sh ../../gdb/7.7/configure --disable-nls --prefix=$GNUBase --target=$GNUTarget --disable-werror --disable-dependency
sh ../../gdb/7.11/configure --disable-nls --prefix=$GNUBase --target=$GNUTarget --disable-werror --disable-dependency
make
make install
cd ../../devkitpro
View
@@ -0,0 +1,64 @@
mkdir radiofreedom
cd radiofreedom
GNUBase=/opt/radiofreedom/ppc
GNUTarget=powerpc-gnu-eabi
mkdir binutils-ppc
#patch -p1 -d ../binutils/2.24 -i ../../patches/binutils-2.24.patch
cd binutils-ppc
sh ../../binutils/2.24/configure --prefix=$GNUBase --target=$GNUTarget --disable-nls --disable-shared --disable-debug --disable-werror --enable-poison-system-directories --enable-plugins --enable-lto --disable-dependency-tracking --disable-werror
make
make install
cd ..
mkdir binutils-mn10200
cd binutils-mn10200
sh ../../binutils/2.24/configure --prefix=$GNUBase --target=mn10200 --disable-nls --disable-debug --disable-dependency-tracking --disable-werror
make
make install
cd ..
export PATH=$PATH:$GNUBase/bin
#export PATH=$PATH:/opt/radiofreedom/ppc/bin
mkdir gcc
#patch -p1 -d ../gcc/4.8.2 -i ../../patches/gcc-4.8.2.patch
cd gcc
sh ../../gcc/4.8.2/configure --enable-languages=c,c++,objc --enable-lto --with-cpu=750 --disable-nls --disable-shared --enable-threads --disable-multilib --disable-win32-registry --disable-libstdcxx-pch --target=$GNUTarget --with-newlib --with-headers=../../newlib/2.0.0/newlib/libc/include --prefix=$GNUBase --disable-dependency-tracking --with-pkgversion=devkitPPC
#release 27
make all-gcc
make install-gcc
cd ..
mkdir newlib
#patch -p1 -d ../newlib/2.0.0 -i ../../patches/newlib-2.0.0.patch
cd newlib
sh ../../newlib/2.0.0/configure --target=$GNUTarget --prefix=$GNUBase --enable-newlib-mb --enable-newlib-hw-fp
make
make install
cd ..
cd gcc
make all
make install
cd ..
rm -r $GNUBase/$GNUTarget/sys-include/*
rmdir $GNUBase/$GNUTarget/sys-include
#rename $GNUBase/$GNUTarget/sys-include $InstBase/$GNUTarget/include
cp -v ../devkitpro/rules/ppc/* $GNUBase
mkdir gdb
#patch -p1 -d ../gdb/7.7 -i ../../patches/gdb-7.7.patch
cd newlib
sh ../../gdb/7.7/configure --disable-nls --prefix=$GNUBase --target=$GNUTarget --disable-werror --disable-dependency
make
make install
cd ../../devkitpro
echo $(pwd)
sh ./ppc-crtls.sh
Oops, something went wrong.

0 comments on commit 946ba09

Please sign in to comment.