Hi, Yes, those errors are from the configuration step. Here are the steps I took after untarring the source code: 1) Run this inside the source directory: ./contrib/download_prerequisites 2) Run configure from an empty build directory: ../gcc-4.8.1/configure --prefix=/home/mdl/ids103/gcc-4.8.1-install --with-ld=/home/mdl/ids103/binutils-2.24-install/bin --with-as=/home/mdl/ids103/binutils-2.24-install/bin 3) Run make After about 20 minutes, the build fails. Here is the last of the output: rm gcc.pod make[3]: Leaving directory `/home/mdl/ids103/gcc-4.8.1-build/gcc' mkdir -p -- x86_64-unknown-linux-gnu/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc configure: creating cache ./config.cache checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for x86_64-unknown-linux-gnu-ar... ar checking for x86_64-unknown-linux-gnu-lipo... lipo checking for x86_64-unknown-linux-gnu-nm... /home/mdl/ids103/gcc-4.8.1-build/./gcc/nm checking for x86_64-unknown-linux-gnu-ranlib... ranlib checking for x86_64-unknown-linux-gnu-strip... strip checking whether ln -s works... yes 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 See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/home/mdl/ids103/gcc-4.8.1-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/mdl/ids103/gcc-4.8.1-build' make: *** [all] Error 2 The config.log has not been written to since the configuration step. Please let me know if I can provide more information. Thank you. On Sun, Jun 15, 2014 at 4:51 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > On 15 June 2014 01:06, Ivan Stalev wrote: >> Unfortunately, I keep getting build errors: >> >> g++: unrecognized option '-static-libstdc++' >> conftest.cpp:11:2: error: #error -static-libstdc++ not implemented >> >> conftest.c:18: error: 'choke' undeclared (first use in this function) >> conftest.c:18: error: (Each undeclared identifier is reported only once >> conftest.c:18: error: for each function it appears in.) >> conftest.c:18: error: expected ';' before 'me' > > That doesn't look like a build error, that looks like a configure test > to find out what is supported - many of those tests are supposed to > fail. > > GCC 4.8.1 builds fine on x86_64-unknown-linux-gnu so you must be doing > something wrong, but you're not showing enough information for anyone > to diagnose it.