Hi,
Here's a report of a successful build and install of GCC:
$ gcc-7.2.0/config.guess
hppa2.0-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/hppa-unknown-linux-gnu/7.2.0/lto-wrapper
Target: hppa-unknown-linux-gnu
Configured with: ../gcc-7.2.0/configure --disable-nls
--prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++
--host=hppa-unknown-linux-gnu --build=hppa-unknown-linux-gnu
--target=hppa-unknown-linux-gnu --with-system-zlib --with-sysroot=/
Thread model: posix
gcc version 7.2.0 (GCC)
-- Build environment ----------------------------------------------------------
host: hp-c3700
distro: los.git rootfs=dc818 native=dc818
kernel: Linux 4.13.0-los_dc818
binutils: GNU binutils 2.29
make: GNU Make 4.2.1
libc: GNU C Library (GNU libc) stable release version 2.26
zlib: 1.2.11
mpfr: 3.1.3
gmp: 60102
-- Time consumed --------------------------------------------------------------
configure: real 0m 25.55s
user 0m 12.21s
sys 0m 11.55s
bootstrap: real 22h 30m 18s
user 21h 32m 25s
sys 54m 12.95s
install: real 1m 19.96s
user 0m 22.57s
sys 0m 54.13s
-- Hardware details -----------------------------------------------------------
MemTotal: 3108288 kB
processor : 0
cpu family : PA-RISC 2.0
cpu : PA8700 (PCX-W2)
cpu MHz : 750.000000
capabilities : os32 os64 iopdir_fdc nva_supported (0x07)
model : 9000/785/C3700
model name : Allegro W2
hversion : 0x00005dc0
sversion : 0x00000481
I-cache : 768 KB
D-cache : 1536 KB (WB, direct mapped)
ITLB entries : 240
DTLB entries : 240 - shared with ITLB
bogomips : 1495.85
software id : 2004755634
A.