Bug 15416 - include path is not working for g77
include path is not working for g77
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  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:
Last Closed: 2000-08-04 13:15:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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.