编译gcc-4.2.0遇到的问题
偶在配置的时候出现以下的错误提示,   请大虾们帮忙看看是怎么回事? 
 偶的系统是ubuntu,   机子是AMD的CPU 
 loading   cache   ./config.cachechecking   host   system   type...   i686-pc-linux-gnulibc1 
 checking   target   system   type...   i686-pc-linux-gnulibc1 
 checking   build   system   type...   i686-pc-linux-gnulibc1 
 checking   for   a   BSD   compatible   install...   /usr/bin/install   -c 
 checking   whether   ln   works...   yes 
 checking   whether   ln   -s   works...   yes 
 checking   for   gcc...   gcc 
 checking   whether   the   C   compiler   (gcc      )   works...   no 
 configure:   error:   installation   or   configuration   problem:   C   compiler   cannot   create   executables.   
------解决方案--------------------本机的gcc 没有装好,先装个低版本的再编译高版本的
------解决方案--------------------试试: 
 sudo apt-get install libc6-dev 
 来自: 
 http://www.cublog.cn/u/15586/showart.php?id=334207
------解决方案--------------------sudo apt-get build-essential