Bug 15416 - include path is not working for g77
include path is not working for g77
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-04 13:15 EDT by John Deisz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-04 13:15:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Deisz 2000-08-04 13:15:32 EDT
g77 is not searching the include paths, via

      %  g77 -c code.f  -I/usr/include

Thus, fortran include statements of the form

                include 'mpif.h'                !   the lam package header
file "/usr/include/mpif.h" 

fail.  However, if the full path is typed in the fortran source file:

               include '/usr/include/mpif.h'

then g77 does include the file.
Comment 1 Jakub Jelinek 2000-08-21 03:16:25 EDT
Fixed in gcc-g77-2.96-53

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