From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: running gdb on g77 program Date: 8 Nov 2000 12:51:39 GMT Organization: Aachen University of Technology (RWTH) Lines: 14 Message-ID: <8ubi8r$nlk$1@nets3.rz.RWTH-Aachen.DE> References: <3A092343 DOT F21B9C51 AT et DOT dtu DOT dk> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 973687899 24244 137.226.32.75 (8 Nov 2000 12:51:39 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 8 Nov 2000 12:51:39 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Brian Elmegaard wrote: > g77 -o $(PROG).exe $(OBJS) > 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. The above line signals that you've got a big problem. Look at the path name: it's EMX, not DJGPP. You're either mysteriously calling the wrong incarnation of 'ld', or you're asking this in the wrong place. This is not an EMX newsgroup, see? -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.