Hi, Here's a report of a successful build and install of GCC:
$ gcc-6.2.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.2.0/lto-wrapper Target: mipsel-unknown-linux-gnu Configured with: ../gcc-6.2.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.2.0 (GCC) -- Build environment ---------------------------------------------------------- host: fuloong-minipc distro: los.git rootfs=ff90d27 native=ff90d27 kernel: Linux 4.8.0-rc6-lemote-los_ff90d27 binutils: GNU binutils 2.27 make: GNU Make 4.1 libc: GNU C Library (GNU libc) stable release version 2.24 zlib: mpfr: 3.1.3 gmp: 60000 -- Time consumed -------------------------------------------------------------- configure: real 0m 29.66s user 0m 16.73s sys 0m 10.38s bootstrap: real 48h 52m 49s user 46h 16m 21s sys 2h 3m 24s install: real 9m 46.73s user 4m 13.22s sys 2m 30.07s -- Hardware details ----------------------------------------------------------- MemTotal: 494080 kB system type : lemote-fuloong-2f-box machine : Unknown processor : 0 cpu model : ICT Loongson-2 V0.3 FPU V0.1 BogoMIPS : 697150.20 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.