|
|
配置
# ../gcc-4.1.1-20060517/configure --prefix=/usr/local/gcc-4.1.1 --enable-threads=posix --disable-checking --enable--long-long --host=i386-redhat-linux --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
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
*** This configuration is not supported in the following subdirectories:
target-libada gnattools target-libgfortran target-libobjc
(Any other directories should still work fine.)
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for i386-redhat-linux-ar... no
checking for ar... ar
checking for i386-redhat-linux-as... no
checking for as... as
checking for i386-redhat-linux-dlltool... no
checking for dlltool... no
checking for i386-redhat-linux-ld... no
checking for ld... ld
checking for i386-redhat-linux-lipo... no
checking for lipo... no
checking for i386-redhat-linux-nm... no
checking for nm... nm
checking for i386-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for i386-redhat-linux-strip... no
checking for strip... strip
checking for i386-redhat-linux-windres... no
checking for windres... no
checking for i386-redhat-linux-objcopy... no
checking for objcopy... objcopy
checking for i386-redhat-linux-objdump... no
checking for objdump... objdump
checking for i386-redhat-linux-ar... no
checking for ar... ar
checking for i386-redhat-linux-as... no
checking for as... as
checking for i386-redhat-linux-cc... no
checking for cc... cc
checking for i386-redhat-linux-c++... i386-redhat-linux-c++
checking for i386-redhat-linux-dlltool... no
checking for dlltool... no
checking for i386-redhat-linux-gcc... i386-redhat-linux-gcc
checking for i386-redhat-linux-gcj... no
checking for gcj... gcj
checking for i386-redhat-linux-gfortran... no
checking for gfortran... no
checking for i386-redhat-linux-ld... no
checking for ld... ld
checking for i386-redhat-linux-lipo... no
checking for lipo... no
checking for i386-redhat-linux-nm... no
checking for nm... nm
checking for i386-redhat-linux-objdump... no
checking for objdump... objdump
checking for i386-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for i386-redhat-linux-strip... no
checking for strip... strip
checking for i386-redhat-linux-windres... no
checking for windres... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
然后make是老出错.
除了gcc-4.1.1-20060517.tar.bz2,如果我希望gcc支持c++,java,是否还需要装下面这些:
gcc-java-4.1.1-20060517.tar.bz2
gcc-g++-4.1.1-20060517.tar.bz2
gcc-testsuite-4.1.1-20060517.tar.bz2
redhat9自带的gcc是不是不支持java啊?
现在很困惑,不知道升级 到底需要哪些源文件,安装次序? |
|