Ian Lance Taylor wrote: > Hung-Hsun Su <su@xxxxxxxxxxx> writes: > > >> checking for suffix of object files... configure: error: in >> /home/su/source/gcc/gccobjdir/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/su/source/gcc/gccobjdir' >> make[1]: *** [stage1-bubble] Error 2 >> make[1]: Leaving directory `/home/su/source/gcc/gccobjdir' >> make: *** [all] Error 2 >> [root@alpha gccobjdir]# >> > > What do you see in x86_64-unknown-linux-gnu/libgcc/config.log ? > > Ian > > Hey Hung-Hsun, the configure script often tries to compile small test programs (embedded into the configure script) to verify the compiler support of certain options/features. By looking at the config.log you should be able to find out what the test program is (line number in configure script) and how it is compiled. Then you could possibly re-run the compiler command and check what the real error message is ... Andi