[quake3] Mac OS X Universal Binary (2nd try)
Tony J. White
tjw at webteam.net
Thu Jun 8 12:51:06 EDT 2006
On Thu, Jun 08, 2006 at 09:05:48AM -0700, Daniel Lord wrote:
>
> On Jun 8, 2006, at 9:00, Tony J. White wrote:
>
> >On Thu, Jun 08, 2006 at 05:32:38PM +0200, Ludwig Nussel wrote:
> >>On Thursday 08 June 2006 17:00, Tony J. White wrote:
> >>>4 is "illegal instruction" which I assumed was from trying to execute the
> >>>vm code that had been been placed into memory which was reserved with
> >>>malloc() (see vm_x86.c).
> >>
> >>I'd expect SIGILL if the code generator produces garbage. On Linux you'd get
> >>a
> >>segfault if you try to execute memory that is not supposed to be executed.
> >
> >Hmm, maybe the problem is related more to the cross compilation of all that
> >x86 assembler? I suppose the best way to test this is to get Daniel or
> >someone else with an intel mac to attempt to build the univeral binary
> >on their system.
>
> Tony, Ludwig,
>
> I give this a try tonight when I get some time.
Daniel,
I put up a new patch that uses the unmodified vm_x86.c:
http://www.tjw.org/ioquake3-ub/ioquake3-svn801-default_vm_x86.patch
Build instructions:
svn co -r 801 svn://svn.icculus.org/quake3/trunk quake3.ub
cd quake3.ub
curl -O http://www.tjw.org/ioquake3-ub/ioquake3-svn801-default_vm_x86.patch
patch -p0 < ioquake3-svn801-default_vm_x86.patch
cd code/libs/macosx/
curl -O http://www.tjw.org/ioquake3-ub/libSDL-1.2.0.dylib
curl -O http://www.tjw.org/ioquake3-ub/libopenal.dylib
cd ../../../
sh make-macosx-ub.sh
Thanks.
-Tony
More information about the quake3
mailing list