|
|
|
|
 gcc安装问题 - linux3389 [ 2006-04-28 20:54 | 746 byte(s)]
 Re: gcc安装问题 - bamboo789 [ 2006-04-30 15:37 | 156 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
本人在FC5下安装GCC-3-4-6的tar包,安装过程执行./configure时出现如下信息:
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
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
请问各位如何安装?系统安装时应该带有gcc4.1.0.3,另外FC5本身带的gcc-4.1编译不了D4x.说要gcc2.9x或gcc3.x,所以要安装gcc-3.4.6请高手说的详细一些,先谢过了,问题可能有点菜,别笑我,初学。谢谢!
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
很明显你的系统里现在没有CC编译器,这样你用编译源码的方式安装GCC的话是不行的,因为要编译源码,你必须要有一个C程序编译器,所以建议你安装GCC直接用RPM包来安装吧
|
|
|
----
|
|
[Original]
[Print]
[Top]
|
|
|