- 论坛徽章:
- 0
|
我的系统是redhat AS2.1,由于装系统时并没装gcc,现在要用到,然后我就下了解个
gcc-3.4.0 。 然后 把tar解到$srcdir 下,并在与$srcdir建$objdir,然后在objdir下执行:
#../gcc-3.4.0/configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
../gcc-3.4.0/configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
checking host system type... i686-pc-linux-gnuoldld
请问,这是什么问题呢? |
|