kevelin 发表于 2006-6-3 21:53:27

关于GCC安装问题

我之前装了一个GCC4,但出现
# ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 4.0.0, bad
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.0.0, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

      GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

   *** For details please read DOCS/users_against_developers.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.
的情况,我后来下载了一个GCC 3.4.6的RPM,安装后还是如此,是不是要卸载GCC4才行?怎么卸载GCC4呢?

WeiMingzhi 发表于 2006-6-3 22:09:13

aisystem06 发表于 2006-6-3 22:42:39

要先安装上老版本的gcc才能编译安装你手上的新gcc4
在安装说明上有的
页: [1]
查看完整版本: 关于GCC安装问题