"D. Michael McFarland" <[EMAIL PROTECTED]> writes:

> Eze Ogwuma <[EMAIL PROTECTED]> wrote:
> >
> >You could download the egcs distribution from /pub/home/gafton/egcs/
> >on the RH site. This version will co-exist with gcc supplied with RH
> >5.0 and it includes g77.
> 
> I think I've done this, installing everything in the referenced
> directory, but I'm having trouble with header files.  Including
> iostream and string, for example, sometimes requires adding ".h" and
> sometimes not, and varies depending on whether I'm using g++ or
> eg++.

Has installing egcs in any way affected the running of gcc or is it
egcs that is sometimes affected by gcc?

I did a kernel compile today with gcc and egcs didn't interfere.

> I suspect I have some left-over header files and probably libraries on
> the default search paths, but am not familiar enough with gcc and egcs
> to know what I'm looking at.

> If it's true the latest egcs will compile the kernel with no problems,

I doubt it. There might be bugs in the kernel code that gcc won't see
but egcs will. I tried to compile the kernel with egcs but I saw
numerous warnings and "can't .... ..." messages. In the end I
abandoned the compile because I didn't want to wait 40 mins to find
out it didn't work

> what I think I want is to remove both the gcc/g++ and egcs compilers,
> libs and related files, then do a clean installation of egcs.  (I
> prefer egcs to g++ because I've got some legacy Fortran code lying
> around that I can't junk yet.)  

I'm not sure that abandoning gcc is such a good idea. If you only need
g77 then you might just want to use g77 (eg77) for Fortran and gcc and
g++ for everything else.

> If this seems a reasonable approach, would someone please indulge me
> with a detailed list of what I need to remove and what I need to
> install?  I feel a bit silly asking, but there are so many versions
> of these packages running around loose....

-- 
Eze Ogwuma


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to