Hi,
Here's a report of a successful build and install of GCC:
$ gcc-6.2.0/config.guess
armv5tel-unknown-linux-gnueabi
$ newcompiler/bin/gcc -v
Using built-in specs.
COLLECT_GCC=newcompiler/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/gcctest/newcompiler/libexec/gcc/arm-unknown-linux-gnueabi/6.2.0/lto-wrapper
Target: arm-unknown-linux-gnueabi
Configured with: ../gcc-6.2.0/configure --with-arch=armv4t --with-float=soft
--disable-nls --prefix=/mnt/gcctest/newcompiler --enable-languages=c,c++
--host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi
--target=arm-unknown-linux-gnueabi --with-system-zlib --with-sysroot=/
Thread model: posix
gcc version 6.2.0 (GCC)
-- Build environment ----------------------------------------------------------
host: openrd-client
distro: los.git rootfs=f700f9 native=f700f9
kernel: Linux 4.8.0-rc6-mvebu-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 28.67s
user 0m 19.46s
sys 0m 1.82s
bootstrap: real 33h 33m 27s
user 32h 16m 53s
sys 30m 31.20s
install: real 3m 50.04s
user 2m 30.51s
sys 0m 20.29s
-- Hardware details -----------------------------------------------------------
MemTotal: 513148 kB
processor : 0
model name : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1196.85
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1
Hardware : Marvell Kirkwood (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000
A.