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 #8 from dfranke at gcc dot gnu dot org  2008-01-30 22:22 -------
> Not actively. It's probably not so hard, though: read the file, like we 
> do with -fsyntax-only mode, and parse #file headers.

FX, I'm lost here. The flag_syntax_only is not used anywhere in the fortran
directory, but only in places like gcc/toplev.c(compile_file) to, as I
understand it, e.g. avoid code generation. As I see it, gfortran never knows it
does syntax checking only?!

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

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


-- 


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]