Debian Codegraph @

INSTALL

raw
1 Things needed for compilation.
2
3 SDL
4 The Simple DirectMedia Library available at http://www.libsdl.org
5 The dll distributed with the windows version of DOSBox is slightly
6 modified. You can find the changes in the sourcepackage of DOSBox
7 (src/platform/sdl-win32.diff). If you want the patched sourcetree
8 send us an email. (see README)
9 Licensed under LGPL
10 Note that only version 1.2 and its subversions (1.2.8, 1.2.13 etc.)
11 are currently supported.
12
13 Curses (optional)
14 If you want to enable the debugger you need a curses library.
15 ncurses should be installed on just about every unix distro.
16 For win32 get pdcurses at http://pdcurses.sourceforge.net
17 License: Open source
18
19 Libpng (optional)
20 Needed for the screenshots.
21 For win32 get libpng from http://gnuwin32.sourceforge.net/packages.html
22 See http://www.libpng.org/pub/png/ for more details.
23 License: Open Source
24
25 Zlib (optional)
26 Needed by libpng.
27 For win32 get libz (rename to zlib) from http://gnuwin32.sourceforge.net/packages.html
28 See http://www.zlib.net for more details.
29 License: Open Source
30
31 SDL_Net (optional)
32 For modem/ipx support. Get it from http://www.libsdl.org/projects/SDL_net/
33 Licensed under LGPL
34
35 SDL_Sound
36 For compressed audio on diskimages. (optional)
37 This is for cue/bin cdrom images with compressed (mp3/ogg) audio tracks.
38 Get it from http://icculus.org/SDL_sound
39 Licenced under LGPL
40
41 ALSA_Headers
42 (optional)
43 for Alsa support under linux. Part of the linux kernel sources
44 Licensed under LGPL
45
46 If you want compile from the CVS under a unix system, you'll also need
47 automake (>=1.6), autoconf(>=2.50). Should be available at http://www.gnu.org
48
49 For building on unix systems.
50 If you are building from the cvs run ./autogen.sh first before doing the following.
51
52 1. ./configure
53 2. make
54
55 In step 1 you could add the following switches:
56 --enable-debug
57 enables the internal debugger. --enable-debug=heavy enables even more
58 debug options. DOSBox should then be run from a xterm and when the sdl-
59 window is active press alt-pause to enter the debugger.
60
61 --enable-core-inline
62 enables some memory increasing inlines. This greatly increases
63 compiletime for maybe a increase in speed.
64
65 --disable-fpu
66 disables the emulated fpu. Although the fpu emulation code isn't
67 finished and isn't entirely accurate it's advised to leave it on.
68
69 --disable-fpu-x86
70 disables the assembly fpu core. Although relatively new the x86 fpu
71 core has more accuracy then the regular fpu core.
72
73 --disable-dynamic-x86
74 disables the dynamic x86 specific cpu core. Although it might be
75 be a bit unstable, it can greatly improve the speed of dosbox on x86
76 hosts.
77 Please note that this option on x86 will result in a different
78 dynamic/recompiling cpu core being compiled then the default.
79 For more information see the option --disable-dynrec
80
81 --disable-dynrec
82 disables the recompiling cpu core. Currently x86 and x86_64 only.
83 You can activate this core on x86 by disabling the dynamic-x86 core.
84
85 --disable-dynamic-core
86 disables all dynamic cores. (same effect as
87 --disable-dynamic-x86 --disable-dynrec)
88
89 --disable-opengl
90 disables OpenGL-support (output mode that can be selected in the
91 DOSBox configuration file).
92
93 --disable-unaligned-memory
94 disables unaligned memory access.
95
96 Check the src subdir for the binary.
97
98 NOTE: If capslock and numlock appear to be broken. open
99 src/ints/bios_keyboard.cpp and go to line 30 and read there how to fix it.
100
101
102 Build instructions for VC++6
103 Don't use VC++ 6: it creates faulty code in core_normal.cpp
104 Later Visual Studio versions work fine (vs2003/.net, vs2005, vs2008)