On Wed, 13 May 1998, Federico Strati wrote:

[snip Federico's wellworthy advises]

> 
> Ricardo Píriz wrote:
> > 
> > Hi there!
> > 
> > I have problems executing binaries created with g77 under RHL 5.0.
> > Everything seems to go fine at compilation time, but when I try to
> > execute my programs I always get a segmentation fault (even for the
> > simplest "hello world" program).
> > 
> > I have installed the following versions:
> > 
> >   libc-5.3.12-25.i386.rpm
> >   gcc-2.7.2.3-5.i386.rpm
> >   gcc-g77-2.7.2.3-5.i386.rpm
> > 
> > Everything was working fine under RHL 4.2!
> > 

Your problem is that the 2.7.2.3-5 binary packages were built for RH-4.2.
Installing libc5 gcc on a glibc2 system isn't sucha good resolution.

What I have done, I took the 2.7.2.3-5.src.rpm from the redhat's site and
rebuilt it on a RH5 system. Now I have it installed on more than 5
machines and nobody came back to complain about. So it must be working
well :-). I didn't test it myself yet.

However, this was a kind of solution I had to adopt because of the big
number of machines I need to equip with g77 compilers. I think that if you
accept all the burden of recompiling c++ dynamically linked programs out
there for egcs, this is a better compiler. 

 
                                Cristian


--
  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