Difference between revisions of "Building ioquake3 on Mac"

From ioquake3 wiki
Jump to: navigation, search
(building with gcc4.0 on 10.6.2)
 
(Update page for moving to git and beyond OS X 10.6)
Line 1: Line 1:
= Snow Leopard - Mac OS X 10.6.2 =
+
Return to [[Building ioquake3]]
''NOTE: These instructions apply to the SVN version.''
+
 
# Install [[http://subversion.tigris.org/ Subversion]].
+
= Mac OS X =
# Check out the source from svn://svn.icculus.org/quake3/trunk with "svn co svn://svn.icculus.org/quake3/trunk ioquake3"
+
''NOTE: These instructions apply to the git version.''
# Change to the ioquake3 directory
+
# Install [[http://git-scm.com/ git]].
# run CC=gcc-4.0 ./make-macosx-ub.sh
+
# 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>./make-macosx.sh x86</code>
 +
 
 +
== Universal Binary ==
 +
If you're running Mac OS X 10.6.x and have the Mac OS X 10.5 developer SDKs for PPC, x86, x86_64 you can make a universal binary that is compatible with OS X 10.5 and newer OS X versions.
 +
# Run <code>./make-macosx-ub.sh</code>
 +
 
 +
 
 +
If you're running OS X 10.7 or newer you can build a x86 / x86_64 universal binary. It might not be compatible with versions of OS X older than yours. YMMV.
 +
# Run <code>make ARCH=x86</code>
 +
# Run <code>make ARCH=x86_64</code>
 +
# Run <code>./make-macosx-app.sh release</code>

Revision as of 21:11, 29 September 2015

Return to Building ioquake3

Mac OS X

NOTE: These instructions apply to the git version.

  1. Install [git].
  2. Check out the source from git://github.com/ioquake/ioq3.git with git clone git://github.com/ioquake/ioq3.git
  3. Change to the ioq3 directory
  4. Run ./make-macosx.sh x86

Universal Binary

If you're running Mac OS X 10.6.x and have the Mac OS X 10.5 developer SDKs for PPC, x86, x86_64 you can make a universal binary that is compatible with OS X 10.5 and newer OS X versions.

  1. Run ./make-macosx-ub.sh


If you're running OS X 10.7 or newer you can build a x86 / x86_64 universal binary. It might not be compatible with versions of OS X older than yours. YMMV.

  1. Run make ARCH=x86
  2. Run make ARCH=x86_64
  3. Run ./make-macosx-app.sh release