On 14 June 2014 21:07, Ivan Stalev <idstalev@xxxxxxxxx> wrote: > Hi, > > Okay, now I configured like this: > > ../gcc-4.8.1/configure --prefix=/home/mdl/ids103/gcc-4.8.1-install > --enable-shared --enable-threads=posix --enable-__cxa_atexit > --enable-clocale=gnu --enable-lto --enable-languages=c,c++,fortran > --with-ld=/home/mdl/ids103/binutils-2.24-install/bin > --with-as=/home/mdl/ids103/binutils-2.24-install/bin > --disable-multilib --with-cloog=/home/mdl/ids103/install > --with-gmp=/home/mdl/ids103/install > --with-mpfr=/home/mdl/ids103/install > --with-mpc=/home/mdl/ids103/install > > I started the build, and 10 minutes into it, I get this error: > > checking for x86_64-unknown-linux-gnu-gcc... > /home/mdl/ids103/gcc-4.8.1-build/./gcc/xgcc > -B/home/mdl/ids103/gcc-4.8.1-build/./gcc/ > -B/home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/bin/ > -B/home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/lib/ > -isystem /home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/include > -isystem /home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/sys-include > checking for suffix of object files... configure: error: in > `/home/mdl/ids103/gcc-4.8.1-build/x86_64-unknown-linux-gnu/libgcc': > configure: error: cannot compute suffix of object files: cannot compile Read the link I gave you. It links to the FAQ explaining this error: https://gcc.gnu.org/wiki/FAQ#configure_suffix And it also shows a much simpler way to build GCC that avoids this problem. Stop trying to do it the complicated way.