/[LeafOK_CVS]/pvpgn-1.7.4/docs/Compile.Instructions.Win32.Borland.txt
ViewVC logotype

Contents of /pvpgn-1.7.4/docs/Compile.Instructions.Win32.Borland.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/plain
no message

1 PvPGN Win32 Borland Compile Instructions
2 This file explains how to compile PvPGN for Win32 using Borland C++ Compiler 5.5
3
4 1) Download Borland C++ Compiler 5.5 (BCC32) from one of the folling sites:
5 ftp://ftpd.borland.com/download/bcppbuilder/freecommandLinetools.exe
6 http://altd.borland.com/download/bcppbuilder/freecommandLinetools.exe
7
8 2) Install the tools to a directory, e.g. c:\program files\borlandc\ (this will be used as an example in the following)
9
10 3) Go to the /bin subdirectory, e.g. c:\program files\borlandc\bin
11
12 4) Create a file named bcc32.cfg and insert the following two lines:
13 -I"c:\program files\borlandc\Include"
14 -L"c:\program files\borlandc\Lib"
15 (replace c:\program files\borlandc\ with your own borland path of course)
16
17 5) Create a file named ilink32.cfg and insert the following line:
18 -L"c:\program files\borlandc\Lib"
19 (replace c:\program files\borlandc\ with your own borland path of course)
20
21 Those two files are required by the compiler to find the Lib and Include directory...
22
23 6) Now you're ready to compile the server.
24 Open a command prompt, go to the Win32-Projects directory.
25 To build all apps as console apps (recommended for running as a service): make_borland
26 To build GUI versions of bnetd, d2cs and d2dbs: make_borland -DWITH_GUI
27
28 The resulting exe file will be in the sbin directory and you can use it with the other files from the latest PvPGN release.
29
30 Notes about CDB Support:
31 ------------------------
32 To add support for CDB file storage add -DWITH_CDB to the command line options
33
34 Notes about MYSQL Support:
35 --------------------------
36 First of all u need to add a subfolder src/mysql/ where u add the header files from your favorite mySQL release.
37 If you wish to compile with MYSQL support, run "make_borland -DWITH_SQL_MYSQL" in src directory.
38 Note that libmySQL.lib does not work with borland compilers, so we converted it using the borland tool
39 COFF2OMF libmySQL.lib libmySQL_bc.lib
40 You might want to do the same if you want to have a current lib file, alternatively you can create the lib from the dll:
41 IMPLIB libmysql_bc.lib libmysql.dll
42
43 Note that we're working with VS.NET mostly so there might still be borland-related bugs.

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1