Alexander Wieder writes: > Hi! > > I tried to build GCC 4.2 (core and g++) on my linux box (Ubuntu 7.04, > amd64). Except a program-suffix and an install prefix, I used no > configure options. Building failed with the following messages: > > > [...] > > checking for x86_64-unknown-linux-gnu-gcc... /home/alexx/tmp/gcc-build/./gcc/xgcc -B/home/alexx/tmp/gcc-build/./gcc/ -B/home/alexx/local/gcc/x86_64-unknown-linux-gnu/bin/ -B/home/alexx/local/gcc/x86_64-unknown-linux-gnu/lib/ -isystem /home/alexx/local/gcc/x86_64-unknown-linux-gnu/include -isystem /home/alexx/local/gcc/x86_64-unknown-linux-gnu/sys-include -m32 > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... configure: error: cannot run C compiled programs. > > If you meant to cross compile, use `--host'. > > See `config.log' for more details. > > make[1]: *** [configure-target-libmudflap] Error 1 > > make[1]: Leaving directory `/home/alexx/tmp/gcc-build' > > make: *** [all] Error 2 > > Has anyone an idea why GCC is obviously unable to produce runnable C > programs in my configuration? See `config.log' for more details. Andrew.