From 7eeb6726cd750fc87e8b761d2091534476a30948 Mon Sep 17 00:00:00 2001 From: molivier Date: Wed, 11 Feb 2004 07:20:58 +0000 Subject: [PATCH] Updated the MinGW note according to the new makefiles git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3890 d7cf8633-e32d-0410-b094-e92efae38249 --- mingw_note.txt | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/mingw_note.txt b/mingw_note.txt index 4ce2d0f5..c5ca2c77 100644 --- a/mingw_note.txt +++ b/mingw_note.txt @@ -1,7 +1,16 @@ -Darkplaces needs these files which do not come in the standard mingw installation, nor are supplied with darkplaces itself: -include/ddraw.h (part of DirectX, also found in ftp://ftp.idsoftware.com/idstuff/source/q1source.zip) -include/dinput.h (part of DirectX, also found in ftp://ftp.idsoftware.com/idstuff/source/q1source.zip) -include/dsound.h (part of DirectX, also found in ftp://ftp.idsoftware.com/idstuff/source/q1source.zip) +For compiling Darkplaces with MinGW, you need the following files which do not +come in the standard MinGW installation: + - include/ddraw.h + - include/dinput.h + - include/dsound.h +They are part of the DirectX SDK but can also be found in the original release +of Quake 1 source code (ftp://ftp.idsoftware.com/idstuff/source/q1source.zip). -Assuming you placed mingw in c:\mingw, you can simply type this to compile: -make exerelease +Assuming the MinGW binaries are in your PATH, you compile Darkplaces by typing +"make release". Note that "make" may be named "mingw32-make", so you may want +to try "mingw32-make release" if the first command fails to run. + +For cross-compiling Win32 binaries on Linux using MinGW, you need to force the +makefile to use the MinGW compilation parameters, otherwise it will autodetect +the operating system it runs on and will use the corresponding parameters. You +can force it by appending "DP_MAKE_TARGET=mingw" at the end of the command line. -- 2.39.2