Difference between revisions of "Building ioquake3 on Linux"

From ioquake3 wiki
Jump to: navigation, search
(Changed style)
(Add directions for cross-compiling for Windows.)
 
Line 8: Line 8:
 
# Change to the ioq3 directory
 
# Change to the ioq3 directory
 
# Run <code>[http://www.gnu.org/software/make/ make]</code>
 
# Run <code>[http://www.gnu.org/software/make/ make]</code>
 +
 +
== Cross-compile for Windows ==
 +
# Install [http://git-scm.com/ git].
 +
# Install mingw-w64.
 +
# Check out the source from git://github.com/ioquake/ioq3.git with <code>git clone git://github.com/ioquake/ioq3.git</code>
 +
# Change to the ioq3 directory
 +
# Run <code>[http://www.gnu.org/software/make/ make] PLATFORM=mingw32 ARCH=x86</code> or <code>make PLATFORM=mingw32 ARCH=x86_64</code>

Latest revision as of 00:45, 3 December 2017

Return to Building ioquake3

Linux

NOTE: These instructions apply to the git version.

  1. Install git.
  2. Install SDL2 development.
  3. Check out the source from git://github.com/ioquake/ioq3.git with git clone git://github.com/ioquake/ioq3.git
  4. Change to the ioq3 directory
  5. Run make

Cross-compile for Windows

  1. Install git.
  2. Install mingw-w64.
  3. Check out the source from git://github.com/ioquake/ioq3.git with git clone git://github.com/ioquake/ioq3.git
  4. Change to the ioq3 directory
  5. Run make PLATFORM=mingw32 ARCH=x86 or make PLATFORM=mingw32 ARCH=x86_64