Difference between revisions of "Building ioquake3 on Mac"

From ioquake3 wiki
Jump to: navigation, search
(Remove unneeded brackets around exernal link)
Line 6: Line 6:
 
# Check out the source from git://github.com/ioquake/ioq3.git with <code>git clone git://github.com/ioquake/ioq3.git</code>
 
# 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
 
# Change to the ioq3 directory
# Run <code>./make-macosx.sh x86</code>
+
# Run <code>./make-macosx.sh x86_64</code>
 +
 
 +
The resulting AppBundle at build/release-darwin-x86_64/ioquake3.app should be compatible with Mac OS 10.7 or later.
  
 
== Universal Binary ==
 
== 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.
+
If you're running Mac OS 10.6.x and have the Mac OS 10.5 developer SDK you can make a universal binary for ppc, x86, and x86_64 that is compatible with OS X 10.5 or later Mac OS versions.
 
# Run <code>./make-macosx-ub.sh</code>
 
# 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.
+
If you're running Mac OS 10.7 or newer you can build a x86 / x86_64 universal binary that is compatible with 10.7 or later. (Not particularly useful since all Mac OS 10.7 are x86_64.)
 
# Run <code>make ARCH=x86</code>
 
# Run <code>make ARCH=x86</code>
 
# Run <code>make ARCH=x86_64</code>
 
# Run <code>make ARCH=x86_64</code>
 
# Run <code>./make-macosx-app.sh release</code>
 
# Run <code>./make-macosx-app.sh release</code>

Revision as of 14:03, 24 May 2017

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_64

The resulting AppBundle at build/release-darwin-x86_64/ioquake3.app should be compatible with Mac OS 10.7 or later.

Universal Binary

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

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


If you're running Mac OS 10.7 or newer you can build a x86 / x86_64 universal binary that is compatible with 10.7 or later. (Not particularly useful since all Mac OS 10.7 are x86_64.)

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