[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT ffi.arch and the iOS
- From: Mike Pall <mikelu-1106@...>
- Date: Tue, 21 Jun 2011 12:12:15 +0200
Dimiter malkia Stanev wrote:
> Basically I can't make an universal library (static, dynamic) and
> executable that contains both 32-bit Mac OS X, and 32-bit
> iPhoneSimulator version. The right solution would be to put them in
> two different universal libs, exes, etc. But the problem is that
> LuaJIT treats both iOS and OSX as OSX (The Makefiles respect iOS,
> but not luajit itself (ffi.arch=osx for iOS)).
Well, what does one have to do with the other?
First, you mean ffi.os. Essentially iOS _is_ OSX at the kernel
level. It just has different frameworks on top. Second, you can
distinguish it further with e.g. ffi.arch (arm vs. x86 vs. x64).
It's not helpful to give every variation of an OS a different ID.