Date: Thu, 09 Nov 2000 00:46:39 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Brian Elmegaard Message-Id: <9743-Thu09Nov2000004639+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.5h CC: djgpp AT delorie DOT com In-reply-to: <3A092343.F21B9C51@et.dtu.dk> (message from Brian Elmegaard on Wed, 08 Nov 2000 10:56:19 +0100) Subject: Re: running gdb on g77 program References: <3A092343 DOT F21B9C51 AT et DOT dtu DOT dk> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Brian Elmegaard > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 08 Nov 2000 10:56:19 +0100 > > including -g in the link step makes an error like > C:\EMX\BIN\ld.exe: malformed input file (not rel or archive) dna.exe > so I think this is not needed for linking. [snip] > A gdb session goes like this: > C:\dna\g77>gdb > GDB is free software and you are welcome to distribute copies of it > under certain conditions; type "show copying" to see the conditions. > There is absolutely no warranty for GDB; type "show warranty" for > details. > GDB 4.16 (rsxnt), Copyright 1996 Free Software Foundation, Inc. It looks like you have RSXNT installed, and either mix it with DJGPP-compiled Fortran, or the RSXNT port of GDB doesn't support Fortran. In any case, this doesn't seem like a DJGPP problem. If you want to try the DJGPP port of Fortran, make sure your compiler is from one of the DJGPP sites, and set up your environment so that the DJGPP compiler and libraries, and the DJGPP port f GDB are picked up by the system.