LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 948|回复: 3

suse10下编译gcc3.3的问题

[复制链接]
发表于 2005-10-20 15:22:12 | 显示全部楼层 |阅读模式
suse自带的gcc是4.0.2的,但是我编译某个东东需要用3.3,从网上下了gcc3.3,解压后,用/gcc-3.3/configure --prefix=/usr/local/gcc-3.3 --enable-threads=posix --disable-checking --enable--long-long --with-system-zlib --enable-languages=c,c++,java
配置后,然后make,结果出现错误
/home/strops/gcc/gcc-3.3/gcc/read-rtl.c:653: error: invalid lvalue in increment

帮忙看看怎么回事了
发表于 2006-3-21 12:22:22 | 显示全部楼层
That's a problem.  Older versions of gcc use a construct which newer
versions of gcc won't compile.  This makes it hard to bootstrap older
versions of gcc with newer versions.  This is indeed an absurd
situation.

If you must use gcc 3.2.3, and you must use Fedora Core 4, then I
think your best bet is to first build and install gcc 3.3.6, and then
use that to build gcc 3.2.3.
回复 支持 反对

使用道具 举报

发表于 2006-3-21 12:23:52 | 显示全部楼层
上面是用GCC的邮件论坛转贴过来的。。。
回复 支持 反对

使用道具 举报

发表于 2006-3-21 16:10:24 | 显示全部楼层
同时安装gcc 3.x和4应该没有问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表