Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 12f6d80b78704af10c48fc118c6a7e62 > files > 7

dosbox-0.57-3mdk.ppc.rpm

First of all if you are running a non-x86 machine this will not work,
code only works for big-endian machines for now :)

Things needed for compilation.

SDL 
	The Simple DirectMedia Library available at http://www.libsdl.org

Curses 
	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

Libpng
    Needed for the screenshots. 
    For win32 get libpng from http://www.sourceforge.net/projects/gnuwin32

Zlib
    Needed by libpng. 
    For win32 get libz (rename to zlib) from http://www.sourceforge.net/projects/gnuwin32


If you want compile from the CVS under a unix system, you'll also need 
automake (>=1.6), autoconf(>=2.50). Should be available at http://www.gnu.org

For building on unix systems.
If you are building from the cvs run ./autogen.sh first before doing the following.

1. ./configure
2. Check settings.h for some setup options.
3. make

Check the src subdir for the binary.

Compiling on FreeBSD might be a problem since SDL has no joystick support there.
To get around this edit sdlmain.cpp to enable some #define.
Let's hope someday the sdl people will just report 0 joysticks in freebsd or get it working some other way :)


Build instructions for VC++6 

Open the workspace in the visualc subdir and build from there.