Forgot to mention that I've been trying to fix this myself and have tried compiling from scratch almost ten times already and I gave up and came here. On Sun, Sep 16, 2012 at 9:17 PM, farmdve data.bg <farmdve@xxxxxxx> wrote: > I downloaded the GCC 4.7.1 source and unpacked it, inside the gcc > source directory I placed the folders mpc,mpfr and gmp containing the > latest sources of the libraries. As I am told, GCC should > automatically find,compile and statically link against them. > > I also created a folder called 'gcc-obj' inside the gcc source folder > and from withing it I called the following configure command: > ../configure --enable-languages=c,c++ --disable-sjlj-exceptions > --enable-libgcj --enable-libgomp --with-dwarf2 > --disable-win32-registry --enable-libstdcxx-debug > --enable-concept-checks --enable-version-specific-runtime-libs > --prefix=/c/gcc-obj --with-gmp=gmp --with-mpfr=mpfr --with-mpc=mpc > > I included the --with-mpc,mpfr and gmp switches to be on the safe > side. After the configure finishes, I call 'make -j4' to build faster. > Around 10-15 minutes later I get the following error > > checking for i686-pc-mingw32-gcc... (cached) /c/gcc/gcc-obj/./gcc/xgcc -B/c/gcc/ > gcc-obj/./gcc/ -L/c/gcc/gcc-obj/i686-pc-mingw32/winsup/mingw -L/c/gcc/gcc-obj/i6 > 86-pc-mingw32/winsup/w32api/lib -isystem /c/gcc/winsup/mingw/include -isystem /c > /gcc/winsup/w32api/include -B/mingw/i686-pc-mingw32/bin/ -B/mingw/i686-pc-mingw3 > 2/lib/ -isystem /mingw/i686-pc-mingw32/include -isystem /mingw/i686-pc-mingw32/s > ys-include > checking for suffix of object files... configure: error: in `/c/gcc/gcc-obj/i686 > -pc-mingw32/libgcc': > configure: error: cannot compute suffix of object files: cannot compile > See `config.log' for more details. > make[3]: *** [config.status] Error 1 > make[3]: Leaving directory `/c/gcc/gcc-obj/i686-pc-mingw32/libgcc' > make[2]: *** [all-stage1-target-libgcc] Error 2 > make[2]: Leaving directory `/c/gcc/gcc-obj' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/c/gcc/gcc-obj' > make: *** [all] Error 2 > > Here is the config.log from the folder, http://pastebin.com/mnfnkuiZ > > Any help would be appreciated.