This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options



------- Comment #9 from fxcoudert at gcc dot gnu dot org  2008-01-31 00:26 -------
(In reply to comment #8)
> As I see it, gfortran never knows it does syntax checking only?!

Exactly. 

> What exactly do you mean by "#file headers"? Preprocessor include directives as
> `#include "foo.inc"`?

Yes. These are some of the dependencies, but not all. Fortran include
directives are others (probably not too hard to handle), modules are yet
another one.

> Last but not least: did you intend to use the mkdeps-interface of libcpp or to
> craft something on your own?

gfortran doesn't use libcpp, but it probably should. There's a PR about that,
and I tried to make the switch at some point (I was still a newcomer to
gfortran development at that time, so probably somewhere around 4.1/4.2), but
didn't succeed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31588


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