1 Instructions for building D2X for MinGW32
\r
2 -----------------------------------------
\r
6 First you will need SDL. Download the development libraries for
\r
7 Win32/mingw32 from http://www.libsdl.org/ Currently, it is
\r
8 SDL-devel-1.2.2-mingw32.tar.gz. Inside this file, you will find
\r
9 another tar.gz, called i386-mingw32msvc.tar.gz. This should be
\r
10 untarred under /usr/local/cross-tools:
\r
11 mkdir /usr/local/cross-tools
\r
12 cd /usr/local/cross-tools
\r
13 tar zxf /path/to/i386-mingw32msvc.tar.gz
\r
15 Then you should place SDL.dll and sdl-config somewhere in your PATH.
\r
16 I recommend /usr/local/bin:
\r
17 cp /usr/local/cross-tools/i386-mingw32msvc/lib/SDL.dll /usr/local/bin
\r
18 cp /usr/local/cross-tools/i386-mingw32msvc/bin/sdl-config /usr/local/bin
\r
20 If you need to run autogen.sh (e.g. to rebuild the configure scripts,
\r
21 or to build from cvs) you have to have the ACLOCAL_FLAGS variable set.
\r
23 export ACLOCAL_FLAGS=/usr/local/cross-tools/i386-mingw32msvc/share/aclocal
\r
25 You should also install NASM, for compiling assembler files. Download
\r
26 it from http://www.web-sites.co.uk/nasm/where.html and place nasmw.exe
\r
27 somewhere in your path (e.g. /usr/local/bin):
\r
28 unzip nasm-0.98-win32.zip
\r
29 mv nasmw.exe /usr/local/bin
\r
31 Now you can configure and build d2x as normal.
\r
44 -Bradley Bell <bradleyb@u.washington.edu>
\r