Subject: Re: egcs
To: Todd Vierling <>
From: Dan Jacobowitz <>
List: port-powerpc
Date: 08/05/1998 12:31:45
On Wed, Aug 05, 1998 at 12:59:29PM -0400, Todd Vierling wrote:
> On Wed, 5 Aug 1998, Randy Devol wrote:
> : > > Did something break in egcs-1.0.3? I got egcs-1.0.3a today, and have tried
> : > > a few powerpc targets. They don't seem to work..
> egcs 1.0.3 does not work on NetBSD/powerpc, period.  egcs 1.0.3 is pretty
> broken in code generation on anything other than i386 and sparc, basically,
> and its C++ is very broken.  Patching it to build for NetBSD really isn't
> worth the effort, IMHO - patching the egcs snapshots would be more
> worthwhile.

Not true, completely - I use egcs on powerpc-unknown-linux-gnu as a primary
compiler, and it screams.

> : Why use egcs instead of the gnu compiler proper?  Is there stuff in egcs
> : important to powerpc cross development that is not in gcc?  (I.e. bug fixes.)
> Actually, yes.  Also, egcs will become "the" NetBSD compiler in the near
> future, so I'm sure there was intent to see if the egcs compiler will work
> once it is in-tree.  My suggestion to the original poster is to try
> "powerpc-unknown-elf" on the egcs 1.1 snapshots.  I'll be attempting to
> import the egcs 1.1 snapshots into NetBSD-current within the next week,
> possibly this weekend.

The 1.1 snapshots are a lot more reliable - although, unfortunately,
they STILL can't get through Lynx....