solomon_chen 发表于 2005-2-4 21:05:23

关于安装gcc时的问题

我下载了gcc-3.4.3和gcc-3.4.0,我尝试了这两个,在配置的时候都出现问题,请问是怎么回事,配置时的提示如下:
# /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],可以直接发邮件给我

我很急需,谢谢了
页: [1]
查看完整版本: 关于安装gcc时的问题