Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: ccp



Scott Stone <sstone@example.com> wrote,

> On Tue, 15 Dec 1998, Matt Gushee wrote:
> 
> > Chris Sekiya writes:
> > 
> >  > This error is not going to be caused by a missing symlink.  gcc/egcs does
> >  > not use the /lib/cpp link.  Note that the error is happening from an
> >  > invokation of cpp.
> >  > 
> >  > Methinks gcc/egcs was incorrectly installed.
> > 
> > Hmm. Maybe Eric has solved the problem by now, but if not:
> > 
> > Eric, you're using Red Hat, aren't you?
> > I seem to recall hearing that certain version(s) of Red Hat's egcs
> > package would trash the configuration of standard gcc. Maybe you've
> > got one of those. If nobody here has told you/can tell you what's up,
> > check Red Hat's errata pages.
> 
> You can always use TL's egcs 1.1.1 RPMs (in the 3.0 updates dir on
> ftp.pht.com) as well.  they work :)

BTW, I wouldn't trust egcs as a replacement of gcc in the
first place.  I am pretty sure that it breaks sometimes, ie,
generates bad code.  This may not occur in handwritten
programs, but I am using a high-level compiler, which
generates C code and leaves the low-level code generation to
the C compiler.  The generated code admittedly uses some of
gcc's very special features to produce optimized code.

I tried to use egcs instead of gcc and got some pretty wired
error messages about registers which should have not been
spilled etc.  Translating machine generated code is always
the hardest stress test for a compiler and egcs still seems
to have a way to go.

Manuel

------------------------------------------------------------------
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: 13 February, 12:30               Place: TBD
------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links