## README.w32_bcc551.txt
## 09.OCT.2002, Michael Mustun


Compile Trophy with the "free command line tools" from Borland


Abstract
--------
This document describs how you can compile the Trophy source code 
version 1.0.7 (from about the OCT.2002) with the 
"free command line tools" from Borland on a Windows system. 


Play Trophy On Windows Systems
------------------------------
The Windows binary works on the following systems: Win98, WinXP.
Other systems are not tested, maybe it works, maybe not. Just try it out!


Which Compiler is used
----------------------
* bcc32:   Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
* ilink32: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
* For more informations, please visit the borland homepage www.borland.com.


How to Compile Trophy for Windows
---------------------------------

0) Make sure that you have all needed libraries installed, 
   ClanLib Version 0.6.1 with Hermes 1.3.2 and ZLib 1.1.3.
   Sure, you will also need the Trophy source code.

1) cd to the trohpy source code directory
cd trophy

2) Edit makefile.b32, you need to ajust some path settings in the 
   "user config section". You need to set up the path to the 
   include and lib directoy of ClanLib Version 0.6.1 and to a 
   borland definition file borland.def.
<edit> makefile.b32

3) compile trophy...
make -f makefile.b32

4) After a successful compilation and linking, you should be able 
   to find "trophy.exe" in the same directory ;)


Porting issues
--------------
What's the difference between the Linux- and the Windows source code. 
Preprocessor Defines:
  W32_BCC551: If you compile with this compiler, this preprocessor 
              define is defined.
This define is used as follows:
#ifdef W32_BCC551
  /* dont include unistd.h, but dir.h for the function chdir() */
  #include <dir.h>
#else
  #include <unistd.h>
#endif

## EOF.
