[Scummvm-devel] Official iPhone SDK

Seth Kingsley sethk at meowfishies.com
Wed Jul 8 08:54:38 CEST 2009


Hi guys,

I decided that since I have a developer key, I wanted to try compiling ScummVM
using the official Apple SDK.  I don't know how people working on ScummVM feel
about this vs. using the iphonedev toolchain, but to me it seems like it has
several benefits, such as being able to maybe get it working in the simulator,
and it prevents me from having to jailbreak my phone and therefore worry about
software updates.

Unfortunately I found a few limitations of the configure script and I was
wondering if somebody would be willing to look at the changes.  A few extra
environment variables need to be pulled in for make.  In addition I had to
modify the rule for ObjC sources.

Other than this, I wasn't able to use the Apple assembler with the asm sources
because they use capitalized opcodes, the ".global" pseudo-op (Apple uses
.globl still), and ".ifdef."  The Apple assembler runs the C preprocessor on
.s files as well as .S, so the fix here is to just use #ifdef instead.  I
don't know whether anybody cares to fix these things.  It would be nice not to
have to modify those sources or install LLVM just to use the GNU assembler.

Thanks for your attention.  I'm really really enjoying playing SCUMM games on
my phone!

-- 
|| Seth Kingsley || sethk at meowfishies.com ||
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scummvm_iphone_build.diff
Type: text/x-diff
Size: 1988 bytes
Desc: not available
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090707/42b8910d/attachment.diff>


More information about the Scummvm-devel mailing list