Hide Forgot
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.
Created attachment 9 [details] File with a copy of the error message
This is a bug in the egcs package which is incorrectly including links into the Red Hat build dir.
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]$
closed due to lack of feedback