From: Brian Elmegaard Newsgroups: comp.os.msdos.djgpp Subject: Re: running gdb on g77 program Date: Wed, 08 Nov 2000 14:43:22 +0100 Organization: DTU Lines: 24 Message-ID: <3A09587A.728D6542@et.dtu.dk> References: <3A092343 DOT F21B9C51 AT et DOT dtu DOT dk> <8ubi8r$nlk$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: ip128.et.dtu.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 973691068 23692 130.225.70.128 (8 Nov 2000 13:44:28 GMT) X-Complaints-To: usenet AT news DOT net DOT uni-c DOT dk NNTP-Posting-Date: Wed, 8 Nov 2000 13:44:28 +0000 (UTC) X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Sorry, I think you are right, Hans-Bernhard. I will try somewhere else. Hans-Bernhard Broeker wrote: > > 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. -- Brian http://www.et.dtu.dk/energysystems http://www.rk-speed.dk http://fiduso.dk http://sunsite.auc.dk/dk-tug \TeX, tak