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