This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: G77 help


 

--- 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

 


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