This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2008 22:22:49 -0000
- Subject: [Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options
- References: <bug-31588-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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