-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild_nt.txt
40 lines (33 loc) · 1.5 KB
/
build_nt.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Notes for building crawl with VACPP
-----------------------------------
* when including source, make sure source type is
defined to be 'cpp' - VACPP doesn't know how to
handle .cc extensions.
* include libw32c.cc as a source object;
ignore the other lib*.cc files
* define the macro WIN32CONSOLE
* MUST build with signedchars = yes
* MUST build with emumsize = 4
* target architecture should probably be 486 machines.
According to jmf, targetting Pentium class machines
implies Pentium-specific instructions which are
actually slower on PPro/PII/PIII machines.
Other than this, it's pretty straightforward.
Notes for building crawl with Borland C++ 5.01
----------------------------------------------
Don't bother. Borland C++ 5.01 has a broken
STL library that requires manual patching to get
around. Use the free commandline tools from Borland
instead.
Notes for building crawl with Borland C++ 5.5 free commandline tools
--------------------------------------------------------------------
* make sure your ilink32.cfg contains entries for at least lib and lib\psdk,
for example:
-L"g:\bcc55\lib;g:\bcc55\lib\psdk"
(This may already be done if you've set up Borland for use with VIDE)
* cd to the source directory and edit 'makefile'
* set MAKEFILE=makefile.bor
* comment out the OTHER=-j2 line
* remove EXTRA_FLAGS=... from command (set flags in makefile.bor instead)
* finally, type 'make all' ('make' may default to 'make debug' which isn't
quite supported yet using the free tools)