Hi,
Here's a report of a successful build and install of GCC:
$ gcc-7.3.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.3.0/lto-wrapper
Target: hppa-unknown-linux-gnu
Configured with: ../gcc-7.3.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.3.0 (GCC)
-- Build environment ----------------------------------------------------------
host: hp-c3700
distro: los.git rootfs=e263b native=e263b
kernel: Linux 4.16.0-rc6-los_3d204
binutils: GNU binutils 2.30
make: GNU Make 4.2.1
libc: GNU C Library (GNU libc) stable release version 2.27.
zlib: 1.2.11
mpfr: 4.0.1
gmp: 60102
-- Time consumed --------------------------------------------------------------
configure: real 0m 22.48s
user 0m 9.67s
sys 0m 11.09s
bootstrap: real 20h 11m 06s
user 19h 22m 09s
sys 45m 51.64s
install: real 1m 19.14s
user 0m 23.00s
sys 0m 53.11s
-- Hardware details -----------------------------------------------------------
MemTotal: 3108184 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.