LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 720|回复: 3

[求助]GCC安装问题

[复制链接]
发表于 2007-11-13 16:19:10 | 显示全部楼层 |阅读模式
我的系统是SLES 10,安装gcc是编译出错,如下:

jachaylucy:/windows/E/Linux/soft/gcc-build # /windows/E/Linux/soft/gcc-4.1.0/configure --prefix=/usr/local/gcc-4.1.0
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... no, using cp
checking whether ln -s works... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

请问该怎么解决?
发表于 2007-11-13 17:27:49 | 显示全部楼层
先安装系统自带的gcc,然后随便编译其他gcc
回复 支持 反对

使用道具 举报

发表于 2007-11-13 17:33:29 | 显示全部楼层
而且最好不要在Windows的分区下编译
回复 支持 反对

使用道具 举报

发表于 2007-11-13 19:18:32 | 显示全部楼层
M$ 的 crappy 文件系統大小寫不分,在其下操作是自尋死路!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表