This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[REQUEST] g77 & fortran dependencies


Hi.

Over on the gcc-patches mailing list there have been a number of recent
patches dealing with the preprocessor and C/C++ dependencies. I'd like to
suggest that, if possible, a change be made to handle `INCLUDE' statements
in fortran code so that g77 could provide similiar dependency information.
At present, this sort of dependency info can only be obtained if the
C-like `#include' statements.

It would be nice to be able to do this directly with the fortran compiler
and not rely on external programs (such as sfmakedepend which is mentioned
in the info pages). Where I work, a great deal of fortran code is
maintained and developed, and it would be immensely helpful if this
feature was available. The SGI fortran compiler does this, and the
dependency information generated makes keeping the code up to date easier.

Hacking the code to provide this is beyond my abilities at the present, so
I'm not sure this extra feature is easy to add. It would be, though, a
welcomed addition to the compiler here, and I'd guess at many other places
where fortran is used.

Thanks for hearing me out, and thanks to all working on GCC.

###############################
# Art Haas
# (713) 689-2417
###############################


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]