********** compiling POVray for Windows NT ************

I originally ported povray to an NT console mode application by using the
unix source, but since it compiled without modification on the first try using
MSVC32, i wouldnt really call it much of a port...

anyway, i spiffed up the code for nt by making a winnt.c and winntcnf.h
so it works a tad better.  i have compiled with both MSVC32 and Watcom,
and have found the MSVC32 code to be a few percent faster than the Watcom
on my 486.

to compile as an NT console-mode application:

1) in machine\winnt\common, copy winntcnf.h to config.h if needed.

2) copy the files in machine\winnt\common to the \source directory.

3) figure out which compiler you want to use, and copy the files from its
   directory to the \source directory also.

4) see the compiler specific notes below:

----------------------------------------------------------------------
MSVC32 (Microsoft Visual C/C++ 32bit edition) v1.x

no files need to be renamed or edited.  load up the IDE, and open the
POV.MAK project.  it will probably prompt you to regenerate file dependancies,
since your files are not in the same directory as mine were.  just say ok,
and it will do its thing.  after that, you can just build it.

for 486 code, every optimization works fine.  for pentium code, i compiled
every file with all the optimizations, except image.c, which crashed the
compiler.  i compiled that file with only the "favor fast code" option, and
then it compiled ok, at which point i linked all the files into the
executable.  a newer build of the compiler probably won't have this problem.

-----------------------------------------------------------------------
Watcom C v9.5 or higher (with NT support)

copy the ntwatcom.mak to makefile if needed.  edit the makefile and comment
out the line for the processor (486 or pentium) that you don't want.
edit the ntwatcom.lnk to reflect your libpath directories.  that's it!

-----------------------------------------------------------------------
Other compilers, x86, alpha, mips platforms.

you will need to build a makefile.  since all i had to do to make the msvc32
makefile was tell it to compile all the files in the \source directory,
and it worked, there shouldnt be much of a problem compiling with another
compiler, such as the WinNT SDK, which you could use to make mips and alpha
binaries also...

-----------------------------------------------------------------------

