From 76b1cf38f9c62ca2d1422a7cae359e56c784a319 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 9 Dec 2009 08:52:36 +0100 Subject: [PATCH] Rebuild PowerPC GCC (4.3.4) and binutils (2.20) for RTEMS 4.9.3. Signed-off-by: Pavel Pisa --- .../binutils/binutils-powerpc-rtems.cfg | 33 +++++++++++-------- .../powerpc-rtems/gcc/gcc-powerpc-rtems.cfg | 16 ++++++--- 2 files changed, 30 insertions(+), 19 deletions(-) mode change 100644 => 100755 rtems-build/powerpc-rtems/binutils/binutils-powerpc-rtems.cfg mode change 100644 => 100755 rtems-build/powerpc-rtems/gcc/gcc-powerpc-rtems.cfg diff --git a/rtems-build/powerpc-rtems/binutils/binutils-powerpc-rtems.cfg b/rtems-build/powerpc-rtems/binutils/binutils-powerpc-rtems.cfg old mode 100644 new mode 100755 index 34d97e7..b543d4b --- a/rtems-build/powerpc-rtems/binutils/binutils-powerpc-rtems.cfg +++ b/rtems-build/powerpc-rtems/binutils/binutils-powerpc-rtems.cfg @@ -146,23 +146,28 @@ # --target=h8300-hitachi-coff # --target=tic30-ti-coff # --host=i586-pc-linux-gnulibc1 + +#--host=i586-pc-linux-gnu \ +#--enable-targets=arm-rtems,arm-linux,arm-coff + CFLAGS=-O2 LDFLAGS=-s \ -../../configure \ ---host=i586-pc-linux-gnu \ ---target=powerpc-rtems \ +../../../binutils/configure \ +--target=powerpc-rtems4.9 \ --with-gnu-ld --exec-prefix=/usr --prefix=/usr \ ---enable-shared --enable-commonbfdlib --verbose \ +--verbose --disable-nls --disable-win32-registry --disable-werror \ --with-mmap --enable-64-bit-bfd \ ---enable-targets=i586-pc-linux-gnu,i586-pc-linux-gnulibc1,\ -i386-coff,i586-msdosdjgpp,\ -m68k-linux-elf,m68k-rtems,m68k-coff,m68k-a.out-linux,\ -powerpc-rtems,powerpc-linux,m68hc11-elf,m68hc12-elf,\ -h8300-coff,h8300-elf,sh-coff,sh-rtemself,sh64-linux,\ -or32-elf,openrisc-elf,alpha-linux-gnu,\ -ia64-linux-gnu,x86_64-linux-gnu,\ -arm-rtems,arm-linux,arm-pe,arm-coff,avr-elf,\ -sparc-linux-elf,i586-win-pe,\ -tic30-ti-coff,tic30-ti-aout,tic4x-ti-coff,tic54x-ti-coff,msp430 + +#--enable-shared --enable-commonbfdlib --verbose \ +#--enable-targets=i586-pc-linux-gnu,i586-pc-linux-gnulibc1,\ +#i386-coff,i586-msdosdjgpp,\ +#m68k-linux-elf,m68k-rtems,m68k-coff,m68k-a.out-linux,\ +#powerpc-rtems,powerpc-linux,m68hc11-elf,m68hc12-elf,\ +#h8300-coff,h8300-elf,sh-coff,sh-rtemself,sh64-linux,\ +#or32-elf,openrisc-elf,alpha-linux-gnu,\ +#ia64-linux-gnu,x86_64-linux-gnu,\ +#arm-rtems,arm-linux,arm-pe,arm-coff,avr-elf,\ +#sparc-linux-elf,i586-win-pe,\ +#tic30-ti-coff,tic30-ti-aout,tic4x-ti-coff,tic54x-ti-coff,msp430 #i586-go32, #--ieee, #srec,symbolsrec,tekhex,binary,ihex,trad-core diff --git a/rtems-build/powerpc-rtems/gcc/gcc-powerpc-rtems.cfg b/rtems-build/powerpc-rtems/gcc/gcc-powerpc-rtems.cfg old mode 100644 new mode 100755 index 1a76555..b349356 --- a/rtems-build/powerpc-rtems/gcc/gcc-powerpc-rtems.cfg +++ b/rtems-build/powerpc-rtems/gcc/gcc-powerpc-rtems.cfg @@ -157,13 +157,19 @@ # make # make install -../../configure --target=powerpc-rtems --prefix=/usr \ +# --host=i586-pc-linux-gnu \ + +../../../gcc/configure --target=powerpc-rtems4.9 --prefix=/usr \ --enable-languages=c,c++ \ + --disable-libstdcxx-pch \ --with-gnu-ld \ + --with-gnu-as \ --with-float=soft \ --enable-threads=rtems \ --enable-target-optspace \ - --verbose \ - --disable-nls \ - --host=i586-pc-linux-gnu \ - --with-newlib + --verbose \ + --disable-nls --without-included-gettext \ + --disable-win32-registry \ + --with-newlib \ + --enable-newlib-io-c99-formats \ + --enable-version-specific-runtime-libs -- 2.39.2