Your message dated Wed, 15 Feb 2012 17:59:18 +0100 with message-id <20120215165917.GA20530@physik.fu-berlin.de> and subject line Re: gfortran: Suggestion for -M flag has caused the Debian Bug report #575792, regarding gfortran: Suggestion for -M flag to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 575792: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575792 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gfortran: Suggestion for -M flag
- From: Noel Torres <envite@rolamasao.org>
- Date: Mon, 29 Mar 2010 10:22:41 +0100
- Message-id: <20100329092241.30296.30937.reportbug@nuevax.local>
Package: gfortran Severity: wishlist I use to need module dependency information. Since gfortran can not, actually, fetch it like C's gcc does with -M, I use the following Makefile rule: Makefile.dep : *.F95 for j in *.F95 ; do for i in `cat $$j|grep " use "|awk '{print $$2}'`; do echo `basename $$j .F95`.o : $$i.mod ; done ; done > $@ It would be great to have this very simple code included in gfortran like the -M option, to be allowed to change the Makefile to something simpler: Makefile.dep for i in *.F95; do gfortran -MM "$${i}"; done > $@ Thanks -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
- To: 575792-done@bugs.debian.org
- Subject: Re: gfortran: Suggestion for -M flag
- From: Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
- Date: Wed, 15 Feb 2012 17:59:18 +0100
- Message-id: <20120215165917.GA20530@physik.fu-berlin.de>
I believe that the issue has been fixed upstream in GCC 4.6.0. >From http://gcc.gnu.org/gcc-4.6/changes.html: "Support the generation of Makefile dependencies via the -M... flags of GCC; you may need to specify the -cpp option in addition. The dependencies take modules, Fortran's include, and CPP's #include into account. Note: Using -M for the module path is no longer supported, use -J instead."
--- End Message ---