Hey Eric,
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... /home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/eric/disk/gcc-4.5.2/host-i686-pc-linux-gnu/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/home/eric/disk/gcc-4.5.2/i686-pc-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/eric/disk/gcc-4.5.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/eric/disk/gcc-4.5.2'
make: *** [all] Error 2
root@eric-laptop:/home/eric/disk/gcc-4.5.2#
For this error, please first check
http://gcc.gnu.org/wiki/FAQ#configure_suffix to locate the root cause.
Best regards,
Andi