Mail Archives: djgpp/1999/07/12/01:45:16
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
- Raw text -