发新话题
打印

求助:在Aix装了gcc,但编译时会出错

求助:在Aix装了gcc,但编译时会出错

    在Aix 4.3.3 上装了gcc,但编译时会出错。如在装ssh时会出现下面错误:
# ./configure
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
#
    在编译gcc-3.0.4时会有下面错误:
# ./configure
Configuring for a powerpc-ibm-aix4.3.3.0 host.
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)
Created "Makefile" in /usr/install/gcc-3.0.4 using "mt-frag"
gcc: installation problem, cannot exec `as': A file or directory in the path name does not exist.
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
#


    请问是什么原因?盼复,非常感谢!      

TOP

发新话题