Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.3.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.3.0/lto-wrapper Target: powerpc-unknown-linux-gnu Configured with: ../gcc-6.3.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.3.0 (GCC) -- Build environment ---------------------------------------------------------- host: g5-xserve-m distro: los.git rootfs=ef31e1 native=ef31e1 kernel: Linux 4.9.0-g5-los_ef31e1 binutils: GNU binutils 2.27 make: GNU Make 4.2.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 9.43s user 0m 6.75s sys 0m 3.63s bootstrap: real 5h 8m 12s user 9h 20m 10s sys 22m 53.81s install: real 0m 24.67s user 0m 18.32s sys 0m 20.84s -- Hardware details ----------------------------------------------------------- MemTotal: 8070668 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.