X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.131.211 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Re-installation of DJGPP Organization: Systematic Software Message-ID: References: <00e401c486d8$c18b0d30$84236652 AT rui> <016101c486e8$ae9cc1e0$84236652 AT rui> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 78 Date: Sat, 21 Aug 2004 06:21:55 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw3no 1093069315 24.71.223.147 (Sat, 21 Aug 2004 00:21:55 MDT) NNTP-Posting-Date: Sat, 21 Aug 2004 00:21:55 MDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 20 Aug 2004 20:05:36 +0100 in comp.os.msdos.djgpp, "cosmos" wrote: >> On Fri, 20 Aug 2004 18:11:38 +0100 in comp.os.msdos.djgpp, "cosmos" >> wrote: >> >> >Hi there, >> > >> >I've installed DJGPP as the instructions in the website show. Meanwhile I >tryed to make a cross compiler ( actually it was a friend of mine ) - with >the host as win32 and the target unix. Now, I made a clean installation in >order to have it run in dos/win32 mode (both host and target ) but when I >run the make command I get always the message that the target is not >specified and that the C file doesn't exists ( makefile.dos and asc2eph.c ). >My computer is running in Windows XP. >> > >> >What can be the problem? >> >> Post your make command line and the contents of the makefile. >My computer is running windows xp, and having a makefile.dos ( terminating >in dos ) never was a problem in previous compilations - I'm not running >linux here. The makefile.dos is as follows: I'm assuming pasting the file contents, or your newsreader, is double spacing the lines below; if not, you should delete any blank lines between a rule and all subsequent commands. ... ># Now the actual rules > >all: $(TARGETS) > >clean: > >-rm *.o > >-rm *.log > >-rm *.exe > > > >asc2eph: asc2eph.o astrocon.o support.o > >$(CC) $(CFLAGS) -o asc2eph.exe asc2eph.o astrocon.o support.o $(LIBS) ... >asc2eph.o: asc2eph.c astrolib.h support.h > >$(CC) $(CFLAGS) -c asc2eph.c ... Unless it's also a problem with pasting or your newsreader, the command lines following each rule should be indented by a tab character, as shown below. ... # Now the actual rules all: $(TARGETS) clean: -rm -f *.o *.log *.exe $(TARGETS) # DJGPP temporaries asc2eph: asc2eph.o astrocon.o support.o $(CC) $(CFLAGS) -o asc2eph.exe asc2eph.o astrocon.o support.o $(LIBS) ... asc2eph.o: asc2eph.c astrolib.h support.h $(CC) $(CFLAGS) -c asc2eph.c ... See if indenting all the command lines helps. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca) fake address use address above to reply