On 28 Jun 2009, at 22:56, Graeme Geldenhuys wrote:

As far as I understand, the iPhone runs a similar kernel (freebsd based) as Mac OS X is.

It's a bit of an oversimplification to call Mac OS X' kernel "FreeBSD- based". See here for some background: http://books.google.com/books?id=K8vUkpOXhN4C&pg=PA48 (under "2.4 The xnu kernel"). But that's irrelevant, since FPC for Mac OS X does not use any direct kernel interface, due to the kernel interface not being supported for application development (in practice this means that the system call interface can change even between minor OS patches, if deemed useful for whatever reason).

On Mac OS X, we use libc, and that interface is indeed pretty much 100% compatible between the desktop and iPhone versions of Mac OS X.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to