X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <002d01c48756$692ed2b0$84236652@rui> From: "cosmos" To: References: <00e401c486d8$c18b0d30$84236652 AT rui> <016101c486e8$ae9cc1e0$84236652 AT rui> Subject: Re: Re-installation of DJGPP Date: Sat, 21 Aug 2004 09:11:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: clamd / ClamAV version 0.71, clamav-milter version 0.71 X-Virus-Status: Clean Reply-To: djgpp AT delorie DOT com Hi, Unfortenatly it didn't solve anything. But let me be more explicit: I've used ( before the changes ) DJGPP as a compiler with this makefile.dos, and it worked. The problem is that my frient changed ( I don't know how ) the host and the target of DJGPP - so it compiles to UNIX ( I wat windows, instead ). I've read some documentation, and all of it talks that this is done with the configure command - wich I don't find in DJGPP directories. Best regards, Rui Fernandes ----- Original Message ----- From: "Brian Inglis" Newsgroups: comp.os.msdos.djgpp To: Sent: Saturday, August 21, 2004 7:21 AM Subject: Re: Re-installation of DJGPP > 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 >