- 论坛徽章:
- 0
|
本人由于刚接触linux 因此有一些基础问题还不懂,各位见笑!
这是我安装GCC时遇到的问题 请指教! 谢谢
建立${objdir}
[root@localhost root]# mkdir gcc-build
[root@localhost root]# cd gcc-build
[root@localhost gcc-build]# pwd
/root/gcc-build
配置
[root@localhost gcc-build]# /root/gcc-3.3.2/configure --prefix=/usr/local/gcc-3.4.0
出现结果
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/gcc-build using "mt-frag"
/root/gcc-3.3.2/configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@localhost gcc-build]#
为什么会这样?如何解决呢?  |
|