[quake3] new osx ppc binary

Ryan C. Gordon icculus at icculus.org
Fri Jun 2 08:21:47 EDT 2006


>>I also would like to know why Jay didn't make a universal binary--perhaps SDL 
>>doesn't make on yet, but one can patch two binaries together with 'lipo'.

Ultimately, you have to build with gcc-3.3 on ppc and gcc-4.0 on Intel, 
and use lipo, or you surrender 10.2 and 10.3 compatibility.

> If anyone has been able to cross-compile ioquake3 to x86 on a ppc Mac please
> share details.  It would be nice to have a cross-make-mingw.sh equiv script
> for doing this, but it doesn't appear to be as trivial.

It might be broken at the moment, but it should be fixable.

> OS X 10.4 has the cross compiler for i686, but it would also require you to
> build a universal libSDL dylib (is that even possible) or link each portion
> of the binary statically to libSDL.a.

Latest SDL sources in Subversion have a special script for doing a 
universal build on either PPC or x86...historically, I've used lipo on 
that, too.

> Also has the OpenAL problem on x86 Macs been worked out?  If not, the binaries
> would also have to be statically linked to OpenAL.  This would also be good
> for making the binary compatible with OSX 10.3 for the ppc arch.   Although
> it would probably be a pretty huge binary :)

The OpenAL problems in the Apple system framework? I think the latest OS 
X update squashed several race conditions (Apple committed these fixes 
to their public CVS, too).

We'd ship with a Universal OpenAL included. Not statically, linked, 
though, so people can use the system one if they prefer.

At this point, I'm Ninja Master of universal builds...this should all be 
doable with Quake 3.

--ryan.




More information about the quake3 mailing list