当前位置: 技术问答>linux和unix
gcc 编译器的安装问题----设置环境变量??? 着急!!
来源: 互联网 发布时间:2015-06-07
本文导语: 安装过程如下: [root@localhost gcc-3.3]# ./configure Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /home/keyun/gcc-3.3 using "mt-frag" ./configure: line 8: cc: command not found *** The command 'cc -o conftest -g conftest.c' failed. ***...
安装过程如下:
[root@localhost gcc-3.3]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/keyun/gcc-3.3 using "mt-frag"
./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-3.3]#
什么是环境,又怎样设置环境变量???
谢谢
[root@localhost gcc-3.3]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/keyun/gcc-3.3 using "mt-frag"
./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-3.3]#
什么是环境,又怎样设置环境变量???
谢谢
|
同意楼上