lhm@lhm:/mnt/hgfs/share/gcc-build> ../gcc-4.2.1/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
checking whether ln works... no, using cp
checking whether ln -s works... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
是不是$PATH里面没有cc?怎样解决?要先安装cc??!求高手指点
age 于 2011-08-11 12:19:33发表:
这进入死循环了
编译需要gcc, 但你现在偏偏又是要装gcc
这种情况下, 要么chroot编译下, 要么就用二进制包先装上gcc, 然后再编译调优
总之, 先要有个能用的gcc才可以编译
D调漫步 于 2011-08-11 11:57:29发表:
先yum install gcc gcc-c++试试