Anders Bergh wrote: > 1. OS X comes with gcc 4.0.1 (default) and 4.2.1, but 4.3+ is required by > LuaJIT for ppc. I commented out the #error. Ok, the requirement could be relaxed, since the code has recently gotten workarounds for the missing intrinsics. But I'm not sure I want to deal with issues that might later turn out to be bugs in an unmaintained GCC version. > 2. Calling FFI C functions seems to crash: That's probably caused by a mismatch of the calling conventions, particularly the stack frame setup (and not just for the FFI). I guess one would have to find out the exact differences between the Linux/PPC and the OSX/PPC calling conventions (AFAIR the OSX docs are a bit vague in this regard). > I understand LuaJIT on PowerPC OS X may not be a priority, I just wanted to > let you know that it almost works. Well, it's a dead platform. But I'll accept user-contributed fixes (if they are simple to merge). --Mike