www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/09/02:47:41

Newsgroups: comp.os.msdos.djgpp
From: D DOT J DOT Murdoch AT bris DOT ac DOT uk (Duncan Murdoch)
Subject: f2c, djgpp, and gdb
Message-ID: <32fdfec7.21756345@news.bris.ac.uk>
Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet)
Organization: University of Bristol, England
Mime-Version: 1.0
Date: Sat, 8 Feb 1997 22:39:07 GMT
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm trying to use f2c with djgpp, and almost everything appears to be
fine except for debugging.  There are several suggestions in the
various help files that if I use the f2c -g option to put lines like 

#line 1 "reject.f"       

into the generated C, then gdb should show me the Fortran source,
rather than the C source.  However, I can't seem to get that to
happen.  

Has anyone got this to work, or is it impossible?  Any hints would be
appreciated.

Duncan Murdoch

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019