QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 764|回复: 0

关于安装gcc时的问题

[复制链接]
发表于 2005-2-4 21:05:23 | 显示全部楼层 |阅读模式
我下载了gcc-3.4.3和gcc-3.4.0,我尝试了这两个,在配置的时候都出现问题,请问是怎么回事,配置时的提示如下:
[root@localhost gcc-build]# /home/test/gcc-3.4.0/configure --prefix=/usr/local/gcc-3.4.0 --enable-threads=posix --disable-checking --enable--long-long --host=i386-redhat-linux --with-system-zlib --enable-languages=c,c++,java
creating cache ./config.cache
checking host system type... i386-redhat-linux-gnu
checking target system type... i386-redhat-linux-gnu
checking build system type... i386-redhat-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
     target-libf2c target-libobjc
    (Any other directories should still work fine.)
/home/test/gcc-3.4.0/configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


另外make的时候后面有什么参数吗?应该make哪个文件呢?

我的邮箱是[email protected],可以直接发邮件给我

我很急需,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-30 07:34 , Processed in 0.050928 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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