This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Compiling POV-Ray 3.01 with Mingw32 (gcc 2.8.1)
- To: Alain CULOS <ZAlain dot Culos at bigfoot dot com>
- Subject: Re: Compiling POV-Ray 3.01 with Mingw32 (gcc 2.8.1)
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Mon, 11 May 1998 11:21:03 -0500
- Cc: cygwin <gnu-win32 at cygnus dot com>
Alain CULOS <ZAlain.Culos@bigfoot.com> writes:
> Hi All,
>
> I hope this helps someone else.
> Now I have progressed a few steps and I stumble accross a PASCAL call.
> Could anyone help me with getting the following PASCAL call to compile.
Include the following somewhere in your code. This should be included in
Window32api/Defines.h where FAR is defined to be nothing.
#ifdef __GNUC__
# define NEAR
#endif
Or add '-DNEAR=' to your CPPFLAGS.
Btw, a good way to debug these things is the following:
1. compile the file with -save-temps option to gcc which creates a ".i"
file that is pre-processed.
2. Take a look at what the compiler actually sees in the .i file.
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".