This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: G77 help
- From: Bud Davis <bdavis9659 at sbcglobal dot net>
- To: fortran at gcc dot gnu dot org, "Vardhan, Sundara \(GE Infra, Energy\)" <sundara dot vardhan at ge dot com>
- Date: Fri, 6 Feb 2009 09:25:21 -0800 (PST)
- Subject: Re: G77 help
- Reply-to: bdavis9659 at sbcglobal dot net
--- On Fri, 2/6/09, Vardhan, Sundara (GE Infra, Energy) <sundara.vardhan@ge.com> wrote:
> From: Vardhan, Sundara (GE Infra, Energy) <sundara.vardhan@ge.com>
> Subject: G77 help
> To: fortran@gcc.gnu.org
> Date: Friday, February 6, 2009, 7:34 AM
> Hi All
>
> I am using g77 on linux and have issues where the column 1
> D is not
> recognized as a normal line and is taken as a comment by
> default. Is
> there any way around this problem?
>
> I would very much appreciate your input and advice.
>
> Thanks and Regards
>
> Vardhan
No. Here is the status from the g77 documentation:
Use of D or d as the first character (column 1) of
a source line denotes a debug line.
In turn, a debug line is treated as either a comment line
or a normal line, depending on whether debug lines are enabled.
When treated as a comment line, a line beginning with D or
d is treated as if it the first character was C or c, respectively.
When treated as a normal line, such a line is treated as if
the first character was SPC (space).
(Currently, g77 provides no means for treating debug
lines as normal lines.)
< end if g77 texinfo >
I would suggest a little perl 1 liner stuck in your makefile that pre-chops the 'D ' out.
HTH,
bud
- References:
- G77 help
- From: Vardhan, Sundara (GE Infra, Energy)