Can AQ be built for Tiger and Leopard, universally?

Asked by matatk on 2008-12-01

Is it possible to build AQ on the Mac, for both Tiger and Leopard, PowerPC and Intel?

Question information

Language:
English Edit question
Status:
Solved
For:
AudioQuake Edit question
Assignee:
No assignee Edit question
Solved by:
matatk
Solved:
2008-12-01
Last query:
2008-12-01
Last reply:
matatk (matatk) said : #1

The instructions need to be included in the manual but, for now, on this method seems to work on Leopard...

set up macports

add following to /opt/local/etc/macports.conf

# AGRIP: added for supporting universal binaries on 10.4...
universal_target 10.4
universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk
universal_archs ppc i386
# END of AGRIP additions

Now, to compile, you need to install the following macports. Make
sure you ask for the universal variants of them (i.e. sudo port
install portname @universal).

 zlib
 libpng
 libiconv

Instead of getting SDL through MacPorts, you need to download the
source version of libSDL from libsdl.org and compile it using the
build-scripts/fatbuild.sh script, using the instructions in
README.MacOSX. The reason is that if you use macports, even the
universal variant, not all SDL libraries are made universal.

You should then be able to compile AQ on Leopard, for Tiger and PPC/
Intel, by using the makefile in the zq-repo/zquake/ directory. Use
make server && make gl