Bug 56098 - Fortran doesn't work with g77
Fortran doesn't work with g77
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2001-11-12 15:00 EST by Bernhard Rosenkraenzer
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-11-14 13:12:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
"hello, world" - the FORTRAN way (59 bytes, text/plain)
2001-11-14 12:10 EST, Trond Eivind Glomsrxd
no flags Details

  None (edit)
Description Bernhard Rosenkraenzer 2001-11-12 15:00:01 EST
octave fails to detect gcc 3.1's f77 as a compatible compiler:

checking whether g77 is the GNU Fortran compiler... yes
checking g77/f2c compatibility... no
checking for f2c... no
configure: warning: in order to build octave, you must have a compatible  
configure: warning: Fortran compiler or f2c installed and in your path.

This might be caused by a g77 bug; please verify and reassign if 
Comment 1 Trond Eivind Glomsrxd 2001-11-14 12:09:26 EST

gcc bug - it can't even compile the FORTRAN version of "hello, world":
[teg@oslo teg]$ g77 -o hello hello.f
/usr/bin/ld: cannot find -lfrtbegin
collect2: ld returned 1 exit status
[teg@oslo teg]
Comment 2 Trond Eivind Glomsrxd 2001-11-14 12:10:37 EST
Created attachment 37522 [details]
"hello, world" - the FORTRAN way
Comment 3 Jakub Jelinek 2001-11-14 13:12:43 EST
Fixed in my gcc31.spec copy, will be in gcc-g77-3.1-0.8.

Note You need to log in before you can comment on or make changes to this bug.