2009-02-24, 09:42
Beenje Wrote:Compiling all the external codec/libs was of course one the first thing I did (including the static libs like SDL - I renamed them lib*-powerpc-osx.a).
I first compiled everything in command line. I created the ARCH=powerpc-osx.
When my exe crashed, I compiled using Xcode because I think it would be easier to debug from there.
Btw I saw that Xcode uses libcdio-osx.a whereas in command line it does not use this static lib (it is compiled).
Is there any specific flag I should use to compile SDL on PPC?
I used the script buildSDL-osx.sh. Should I use --disable-altivec? (I saw --disable-nasm is used for x86).
sounds good, did not know how far you had gone.
libcdio-osx.a is mostly a carry over from the old build style (no make).
nasm is the assembler, typically for mmx, sse2 stuff. That's similar to altivec so I would mimic that.
you crash one up from CGraphicContext::SetVideoResolution. I would set a breakpoint there and start stepping though till it crashes, then start looking at why it crashed.