Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.2.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.2.0/lto-wrapper Target: powerpc-unknown-linux-gnu Configured with: ../gcc-6.2.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.2.0 (GCC) -- Build environment ---------------------------------------------------------- host: g5-xserve-m distro: los.git rootfs=f700f9 native=f700f9 kernel: Linux 4.8.0-rc6-g5-los_f989d71 binutils: GNU binutils 2.27 make: GNU Make 4.1 libc: GNU C Library (GNU libc) stable release version 2.24 zlib: 1.2.8 mpfr: 3.1.3 gmp: 60000 -- Time consumed -------------------------------------------------------------- configure: real 0m 8.84s user 0m 6.72s sys 0m 4.10s bootstrap: real 5h 9m 10s user 9h 18m 44s sys 25m 4.96s install: real 0m 36.88s user 0m 28.17s sys 0m 29.76s -- Hardware details ----------------------------------------------------------- MemTotal: 8070684 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.