HZ: Compiling on Win98/WinNT/Win2k

It was originally developed using MSVC 4.0. However, given the dodgy stability of MS's compilers through the 5.x series, and the fact that an free source release really should compile with a free compiler, I ported it to compile with Mingw32. Fortunatly, most of the work had already been done to get it to compile under g++ while porting to Linux. The remaining tricky spot was getting the DirectX part of the compile to work.

I provide the entire toolchain along with the HZ source kit for windows, because I assume most users won't have Mingw32, binutils, and all the associated tools you need. After pulling down the toolchain and source release, you need to:

  1. unzip the toolchain into the default location (C:\)
  2. (on Win95/98) create a command shell with the /e:20000 paramater, to expand the environment variable space
  3. start a command shell
  4. Run C:\local\startshell.bat
  5. go to the HZ directory (cd c:\hz\hz-files\hz)
  6. build away (make)
  7. to run, change into the "target" directory and type "hz"

If you want to know how to get your own project to compile under windows using GCC, access the Windows native APIs, DirectX, and get it to have a program icon, then download this kit and take a look.