make error:at upgrading to gcc 4.5.2(from 4.4.3)

eric lin ericlin@fsshl.zzn.com
Sat Jun 4 22:50:00 GMT 2011


Dear gcc programers:

  when I tried to make(after ./configure, in my downloaded/extracted 4.5.2 of gcc), it fail to compile.(from 4.4.3)

  also what is difference of gcc and gcc-core? should I install both?  when I 
extracted gcc-core after I extract gcc, I find it gointo same folder as gcc.

looking to see your help and thanks a lot in advance, 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# 



More information about the Gcc-help mailing list