日期:2014-05-16  浏览次数:20711 次

../gcc命令求助
在redhat9.0上, 使用命令: ../gcc-3.4.3/configure --target=i386-rtems --quiet --with-gnu-ld --with-gnu-as --with-newlib --enable-threads=rtems --enable-languages="c,c++" --prefix=/opt/rtems

报错: loading cache ./config.cache
*** This configuration is not supported in the following subdirectories:
  target-libffi target-boehm-gc target-zilib target-libjava target-libf2c zlib fastjar target-libobjc
  (Any other directories should still work fine.)
../gcc-3.4.3/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.


急求高手解答.谢谢!!!

------解决方案--------------------
You must set the environment variable CC to a working compiler.


------解决方案--------------------
去掉--quiet选项试试