make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" TARGET=arm TARGET_SYS=iOS
make -C src
In file included from luaconf.h:9,
from lua.h:16,
from lj_arch.h:9:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/../lib/gcc/arm-apple-darwin10/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h
In file included from luaconf.h:9,
from lua.h:16,
from lj_arch.h:9:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/../lib/gcc/arm-apple-darwin10/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h
In file included from luaconf.h:9,
from lua.h:16,
from lj_arch.h:9:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/../lib/gcc/arm-apple-darwin10/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h
ASM lj_vm.o
buildvm_arm.dasc:7:Unknown pseudo-op: .fnstart
buildvm_arm.dasc:8:Unknown pseudo-op: .save
buildvm_arm.dasc:8:Rest of line ignored. 1st junk character valued 123 ({).
buildvm_arm.dasc:9:Unknown pseudo-op: .pad
buildvm_arm.dasc:9:Rest of line ignored. 1st junk character valued 35 (#).
buildvm_arm.dasc:1802:Unknown pseudo-op: .personality
buildvm_arm.dasc:1802:Rest of line ignored. 1st junk character valued 108 (l).
buildvm_arm.dasc:1803:Unknown pseudo-op: .fnend
make[1]: *** [lj_vm.o] Error 1
make: *** [default] Error 2
Any help would be greatly appreciated.