]> git.xonotic.org Git - xonotic/darkplaces.git/blob - mingw_note.txt
Add several gl_info_ cvars which holds gl_vendor, gl_driver, gl_platform, extensions...
[xonotic/darkplaces.git] / mingw_note.txt
1 For compiling Darkplaces with MinGW, you need the following files which do not
2 come in the standard MinGW installation:
3         - include/ddraw.h
4         - include/dinput.h
5         - include/dsound.h
6 They are part of the DirectX SDK but can also be found in the original release
7 of Quake 1 source code (ftp://ftp.idsoftware.com/idstuff/source/q1source.zip).
8
9 Assuming the MinGW binaries are in your PATH, you compile Darkplaces by typing
10 "make release". Note that "make" may be named "mingw32-make", so you may want
11 to try "mingw32-make release" if the first command fails to run.
12
13 For cross-compiling Win32 binaries on Linux using MinGW, you need to force the
14 makefile to use the MinGW compilation parameters, otherwise it will autodetect
15 the operating system it runs on and will use the corresponding parameters. You
16 can force it by appending "DP_MAKE_TARGET=mingw" at the end of the command line.