Date: Mon, 12 Jul 1999 08:42:53 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: varobert AT colba DOT net cc: djgpp AT delorie DOT com Subject: Re: RSXDNDJ 1.5, problem applying fix In-Reply-To: <3.0.32.19990712011258.0079e810@mail.colba.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 12 Jul 1999 varobert AT colba DOT net wrote: > makefile:9: *** missing separator. Stop > > although this is the original makefile that came with the package. See section 22.16 of the DJGPP FAQ list. Obviously, whoever wrote that Makefile doesn't use GNU Make. > Also, if I use > gccw32 -c -O2 -Zwin32 winmain.c >ar r libmain.a winmain.o >ar s libmain.a > as reommended, I get > gcc.exe: r: No such file or directory (ENOENT) The above command line is obviously bogus. I'm guessing it should be 3 separate command lines, like this: gccw32 -c -O2 -Zwin32 winmain.c ar r libmain.a winmain.o ar s libmain.a The last two lines may be replaced by one: ar rs libmain winmain.o (see section 8.22 of the DJGPP FAQ for explanation what do these line accomplish). > gcc.exe: unrecognized option `-Zwin32' Don't know about this one, but seems like -Zwin32 is incorrect spelling of an option, or perhaps you are using incorrect version of gcc. > In file included from g:/djgpp/rsxntdj/include/win32/windows.h:41, > from winmain.c:23: > g:/djgpp/rsxntdj/include/win32/Base.h:259: warning: `__stdcall' redefined > g:/djgpp/rsxntdj/include/win32/wingnuc.h:39: warning: this is the location > of the previous definition The headers Base.h and wingnuc.h both define __stdcall. Edit them and make the definition conditional, like this: #ifndef __stdcall put here the original definition of __stdcall #endif