dxx-rebirth/mingw32.txt

57 lines
1.4 KiB
Plaintext
Raw Normal View History

2001-10-13 02:29:02 +00:00
Instructions for building D2X for MinGW32
-----------------------------------------
Using Cygwin
------------
2001-11-27 20:11:51 +00:00
First you will need SDL.
Download the source code tarball from http://www.libsdl.org/
Currently, it is SDL-1.2.3.tar.gz.
tar zxf SDL-1.2.3.tar.gz
cd SDL-1.2.3
./configure
make
make install
Note that SDL.dll needs to be in your executable PATH, since that is
where windows looks for dlls.
I recommend copying it to /usr/local/bin:
cp /usr/local/lib/SDL.dll /usr/local/bin
2001-10-13 02:29:02 +00:00
If you need to run autogen.sh (e.g. to rebuild the configure scripts,
2001-11-27 20:11:51 +00:00
or to build from cvs) sdl.m4 will have to be somewhere where aclocal
can find it.
You can fix this by setting the ACLOCAL_FLAGS variable like this:
export ACLOCAL_FLAGS=/usr/local/share/aclocal
2001-10-13 02:29:02 +00:00
You should also install NASM, for compiling assembler files. Download
it from http://www.web-sites.co.uk/nasm/where.html and place nasmw.exe
somewhere in your path (e.g. /usr/local/bin):
unzip nasm-0.98-win32.zip
mv nasmw.exe /usr/local/bin
2002-01-18 06:59:45 +00:00
Now you can configure d2x as normal. i.e.
./configure
or
./configure --with-opengl
automake/autoconf in cygwin has a problem with not always putting the
.exe extentions where they need to be. So you may have to run make
twice, like so:
make && make d2x-sdl.exe
or
make && make d2x-ogl.exe
2001-10-13 02:29:02 +00:00
Using MinGW32
-------------
to be added
Using Linux
-----------
to be added
-Bradley Bell <bradleyb@u.washington.edu>