Hi, Here's a report of a successful build and install of GCC:
$ gcc-7.3.0/config.guess mips64el-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/mipsel-unknown-linux-gnu/7.3.0/lto-wrapper Target: mipsel-unknown-linux-gnu Configured with: ../gcc-7.3.0/configure --with-arch=loongson2f --with-abi=32 --with-fp-32=xx --enable-targets=all --disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ --host=mipsel-unknown-linux-gnu --build=mipsel-unknown-linux-gnu --target=mipsel-unknown-linux-gnu --with-system-zlib --with-sysroot=/ Thread model: posix gcc version 7.3.0 (GCC) -- Build environment ---------------------------------------------------------- host: fuloong-minipc distro: los.git rootfs=f34e7 native=f34e7 kernel: Linux 4.16.0-rc6-lemote-los_8b7b6 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 20.33s user 0m 11.37s sys 0m 6.53s bootstrap: real 53h 35m 25s user 49h 17m 15s sys 3h 18m 39s install: real 16m 52.84s user 6m 33.29s sys 7m 38.64s -- Hardware details ----------------------------------------------------------- MemTotal: 493696 kB system type : lemote-fuloong-2f-box machine : Unknown processor : 0 cpu model : ICT Loongson-2 V0.3 FPU V0.1 BogoMIPS : 528.38 wait instruction : yes microsecond timers : yes tlb_entries : 64 extra interrupt vector : no hardware watchpoint : yes, count: 0, address/irw mask: [] isa : mips1 mips2 mips3 ASEs implemented : shadow register sets : 1 kscratch registers : 0 package : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available A.