Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.1.0/config.guess powerpc64-unknown-linux-gnu $ newcompiler/bin/gcc -v Using built-in specs. COLLECT_GCC=newcompiler/bin/gcc COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/powerpc-unknown-linux-gnu/6.1.0/lto-wrapper Target: powerpc-unknown-linux-gnu Configured with: ../gcc-6.1.0/configure --with-cpu-32=G4 --with-cpu-64=G5 --enable-targets=powerpc64-unknown-linux-gnu --disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ --host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu --target=powerpc-unknown-linux-gnu --with-system-zlib --with-sysroot=/ Thread model: posix gcc version 6.1.0 (GCC) -- Build environment ---------------------------------------------------------- host: g5-xserve-m distro: los.git rootfs=71e48 native=71e48 kernel: Linux 4.6.0-rc5-g5-los_71e48 binutils: GNU binutils 2.26.20160125 make: GNU Make 4.1 libc: GNU C Library (GNU libc) stable release version 2.23 zlib: 1.2.8 mpfr: 3.1.3 gmp: 60000 -- Time consumed -------------------------------------------------------------- configure: real 0m 8.79s user 0m 6.68s sys 0m 4.05s bootstrap: real 5h 7m 36s user 9h 16m 08s sys 24m 52.27s install: real 0m 36.95s user 0m 29.54s sys 0m 30.12s -- Hardware details ----------------------------------------------------------- MemTotal: 8071280 kB processor : 0 cpu : PPC970FX, altivec supported clock : 2300.000000MHz revision : 3.0 (pvr 003c 0300) processor : 1 cpu : PPC970FX, altivec supported clock : 2300.000000MHz revision : 3.0 (pvr 003c 0300) timebase : 33333333 platform : PowerMac model : RackMac3,1 machine : RackMac3,1 motherboard : RackMac3,1 MacRISC4 Power Macintosh detected as : 339 (XServe G5) pmac flags : 00000000 L2 cache : 512K unified pmac-generation : NewWorld A.