This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: errors when compiling gcc-3.4.4 and gcc-4.0.0 on i386 freebsd-5.2.1.
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: wangxiuli <wangxiuli at blcu dot edu dot cn>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 30 Jun 2005 23:32:28 +0200 (CEST)
- Subject: Re: errors when compiling gcc-3.4.4 and gcc-4.0.0 on i386 freebsd-5.2.1.
- References: <BLCU-MAIL7rFIL9Q8rc00025d89@blcu-mail.blcu.edu.cn>
On Tue, 28 Jun 2005, wangxiuli wrote:
> gcc some errors appear when compiling gcc-3.4.4 and gcc-4.0.0 on i386
> freebsd -5.2.1.those errrors are caused by byacc's convention of
> arguments .how to solve them?
In addition to what Zack wrote: you may want to use the lang/gcc34 and
lang/gcc40 ports, respectively, and you certainly want to upgrade from
FreeBSD 5.2.1 to 5.3 or 5.4.
And you should be able to build GCC using byacc if you disable the java
frontend, if I remember correctly (perhaps you'll need the patch which
is part of the lang/gcc34 port though).
Gerald