|
|

楼主 |
发表于 2004-12-31 19:47:03
|
显示全部楼层
配置GCC-3.4.0时候出现的问题
从GCC的网站下下载了3.4.0的压缩包,解压
% tar xzvf gcc-3.4.0.tar.gz 成功
然后在与gcc-3.4.0同级目录上新建了gcc-build 的目标目录
在配置的时候
[aircoal@fujiang gcc-build]$ ../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
出现了以下消息
loading 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.)
../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.
安装没有成功,在/usr/local/目录下也没有gcc-3.4.0这个目录,请大家指教!
在线等!! |
|