Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.1.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/6.1.0/lto-wrapper Target: mipsel-unknown-linux-gnu Configured with: ../gcc-6.1.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 6.1.0 (GCC) -- Build environment ---------------------------------------------------------- host: fuloong-minipc distro: los.git rootfs=71e48 native=71e48 kernel: Linux 4.6.0-rc5-lemote-los_71e48 binutils: GNU binutils 2.26.20160125 make: GNU Make 4.1 libc: GNU C Library (GNU libc) stable release version 2.23 zlib: 1.2.8 mpfr: 3.1.3 gmp: 60000 -- Time consumed -------------------------------------------------------------- configure: real 0m 28.41s user 0m 16.87s sys 0m 8.83s bootstrap: real 48h 24m 25s user 46h 20m 38s sys 1h 42m 22s install: real 8m 34.27s user 4m 11.29s sys 1m 16.20s -- Hardware details ----------------------------------------------------------- MemTotal: 494400 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 : mips2 mips3 ASEs implemented : shadow register sets : 1 kscratch registers : 0 package : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available A.