[PATCH][RFC] Extend locations where to seach for Fortran pre-include.
Martin Liška
mliska@suse.cz
Tue Nov 20 14:14:00 GMT 2018
Hi.
Following patch is a follow up of the discussion we had on IRC about
locations where a Fortran pre-include should be searched.
With the patch applied I see now:
$ strace -f -s512 ./xgcc -B. ~/Programming/testcases/usage.F90 -c 2>&1 | grep math-vector
access("./x86_64-pc-linux-gnu/9.0.0/math-vector-fortran.h", R_OK) = -1 ENOENT (No such file or directory)
access("./math-vector-fortran.h", R_OK) = -1 ENOENT (No such file or directory)
access("/home/marxin/bin/gcc2/bin/../include/finclude/x86_64-pc-linux-gnu/9.0.0/math-vector-fortran.h", R_OK) = -1 ENOENT (No such file or directory)
access("/home/marxin/bin/gcc2/bin/../include/finclude/math-vector-fortran.h", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/include/finclude/x86_64-pc-linux-gnu/9.0.0/math-vector-fortran.h", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/include/finclude/math-vector-fortran.h", R_OK) = -1 ENOENT (No such file or directory)
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Extend-locations-where-to-seach-for-Fortran-pre-incl.patch
Type: text/x-patch
Size: 2315 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181120/476a19c7/attachment.bin>
More information about the Fortran
mailing list