Bug 7163

Summary: C++ and g77 do not work
Product: [Retired] Red Hat Linux Reporter: Karl Larsen <k5di>
Component: egcsAssignee: Cristian Gafton <gafton>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-04 02:10:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File with a copy of the error message none

Description Karl Larsen 1999-11-20 00:29:36 UTC
After I loaded the g77 rpm from the version 6.1 cheapbytes cd-rom neither
of the cross compilers work. The error message is the same with both and
involves a directory /usr/src/ba/.... which does not exist on my computer.
If needed I can send you the exact error message but not here.

Comment 1 Karl Larsen 1999-11-20 00:35:59 UTC
Created attachment 9 [details]
File with a copy of the error message

Comment 2 Jeff Johnson 1999-12-15 17:51:59 UTC
This is a bug in the egcs package which is incorrectly including links
into the Red Hat build dir.

Comment 3 Jim Kingdon 1999-12-23 20:00:59 UTC
The fact that /usr/src/bs is mentioned probably is a red herring (that is,
I think it only appears in the error message; I don't think anything is
looking for a file there).  Now, as for the actual problem.  Off the top
of my head it looks like something strange is going on which is causing
the first character in MAIN__ and main to be omitted.  Can you offer any
more details about how to make this problem happen?  I've enclosed a
simple test of g77 which worked for me.

One nit: as far as I know, there is no cross compiler involved here
(that is, the "g77" which we ship is a native compiler - running on
a x86 and producing x86 code - whereas a cross compiler might
run on an x86 and produce code for, say, a PowerPC).

[kingdon@test114 6905]$ g77 -g foo.f
[kingdon@test114 6905]$ ./a.out
 Hello, world
[kingdon@test114 6905]$ cat foo.f
      PRINT *,'Hello, world'
      END
[kingdon@test114 6905]$

Comment 4 Cristian Gafton 2000-02-04 02:10:59 UTC
closed due to lack of feedback