2009-05-02 23:03:37 +02:00
|
|
|
Things needed for compilation.
|
|
|
|
|
|
|
|
SDL
|
2009-05-02 23:43:00 +02:00
|
|
|
The Simple DirectMedia Library available at http://www.libsdl.org
|
2009-05-02 23:03:37 +02:00
|
|
|
|
|
|
|
Curses
|
2009-05-02 23:43:00 +02:00
|
|
|
(optional)
|
|
|
|
If you want to enable the debugger you need a curses library.
|
|
|
|
ncurses should be installed on just about every unix distro.
|
|
|
|
For win32 get pdcurses at http://pdcurses.sourceforge.net
|
2009-05-02 23:03:37 +02:00
|
|
|
|
2009-05-02 23:20:05 +02:00
|
|
|
Libpng
|
2009-05-02 23:43:00 +02:00
|
|
|
Needed for the screenshots. (optional)
|
2009-05-02 23:20:05 +02:00
|
|
|
For win32 get libpng from http://www.sourceforge.net/projects/gnuwin32
|
|
|
|
|
|
|
|
Zlib
|
2009-05-02 23:43:00 +02:00
|
|
|
Needed by libpng. (optional)
|
2009-05-02 23:20:05 +02:00
|
|
|
For win32 get libz (rename to zlib) from http://www.sourceforge.net/projects/gnuwin32
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
SDL_Net
|
2009-05-03 00:08:43 +02:00
|
|
|
For modem/ipx support(optional). Get it from http://www.libsdl.org
|
|
|
|
|
|
|
|
SDL_Sound
|
|
|
|
For compressed audio on diskimages. (optional)
|
2009-05-03 00:28:34 +02:00
|
|
|
This is for cue/bin cdrom images with compressed (mp3/ogg) audio tracks.
|
2009-05-02 23:43:00 +02:00
|
|
|
|
|
|
|
ALSA_Headers
|
|
|
|
(optional)
|
2009-05-03 00:28:34 +02:00
|
|
|
for Alsa support under linux. Part of the linux kernel sources
|
2009-05-02 23:20:05 +02:00
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
If you want compile from the CVS under a unix system, you'll also need
|
2009-05-02 23:20:05 +02:00
|
|
|
automake (>=1.6), autoconf(>=2.50). Should be available at http://www.gnu.org
|
2009-05-02 23:03:37 +02:00
|
|
|
|
|
|
|
For building on unix systems.
|
|
|
|
If you are building from the cvs run ./autogen.sh first before doing the following.
|
|
|
|
|
|
|
|
1. ./configure
|
2009-05-02 23:35:44 +02:00
|
|
|
2. make
|
|
|
|
|
2009-05-02 23:43:00 +02:00
|
|
|
In step 1 you could add the following switches:
|
|
|
|
--enable-debug
|
|
|
|
enables the internal debugger. --enable-debug=heavy enables even more
|
|
|
|
debug options. Dosbox should then be run from a xterm and when the sdl-
|
2009-05-03 00:37:32 +02:00
|
|
|
window is active press alt-pause to enter the debugger.
|
2009-05-02 23:43:00 +02:00
|
|
|
|
|
|
|
--enable-core-inline
|
2009-05-03 00:08:43 +02:00
|
|
|
enables some memory increasing inlines. This greatly increases
|
|
|
|
compiletime for maybe a increase in speed.
|
2009-05-02 23:03:37 +02:00
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
--disable-fpu
|
|
|
|
disables the emulated fpu. Although the fpu emulation code isn't
|
|
|
|
finished and isn't entirely accurate it's advised to leave it on.
|
2009-05-03 00:18:08 +02:00
|
|
|
|
|
|
|
--disable-fpu-x86
|
|
|
|
disables the assembly fpu core. Although relatively new the x86 fpu
|
|
|
|
core has more accuracy then the regular fpu core.
|
|
|
|
|
2009-05-03 00:37:32 +02:00
|
|
|
--disable-dynamic-x86
|
|
|
|
disables the dynamic x86 specific cpu core. Although it might be
|
|
|
|
be a bit unstable, it can greatly improve the speed of dosbox on x86
|
|
|
|
hosts.
|
|
|
|
Please note that this option on x86 will result in a different
|
|
|
|
dynamic/recompiling cpu core being compiled then the default.
|
|
|
|
For more information see the option --disable-dynrec
|
|
|
|
|
|
|
|
--disable-dynrec
|
|
|
|
disables the recompiling cpu core. Currently x86 and x86_64 only.
|
|
|
|
You can activate this core on x86 by disabling the dynamic-x86 core.
|
|
|
|
|
|
|
|
--disable-dynamic-core
|
|
|
|
disables all dynamic cores. (same effect as
|
|
|
|
--disable-dynamic-x86 --disable-dynrec)
|
|
|
|
|
|
|
|
--disable-unaligned-memory
|
|
|
|
disables unaligned memory access.
|
|
|
|
|
2009-05-02 23:20:05 +02:00
|
|
|
Check the src subdir for the binary.
|
2009-05-02 23:03:37 +02:00
|
|
|
|
2009-05-03 00:18:08 +02:00
|
|
|
NOTE: If capslock and numlock appear to be broken. open
|
|
|
|
src/ints/bios_keyboard.cpp and go to line 30 and read there how to fix it.
|
2009-05-02 23:43:00 +02:00
|
|
|
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
Build instructions for VC++6
|
2009-05-02 23:43:00 +02:00
|
|
|
Don't use VC++ 6:it creates faulty code in core_normal.cpp
|