Re: is tiger kernel 64-bit?
Re: is tiger kernel 64-bit?
- Subject: Re: is tiger kernel 64-bit?
- From: Jonas Maebe <email@hidden>
- Date: Wed, 12 Jan 2005 00:19:50 +0100
On 11 jan 2005, at 11:20, Parav Pandit wrote:
(1) Is Panther 10.3.3 User space is 32-bit or 64-bit or both?
32 bit
(2) Panther 10.3.3 xnu kernel is 32-bit, am I rigtht?
The kernel is mostly 32 bit, but its VM system is 64 bit aware, so the
kernel can address more than 4GB of ram.
(3) Tiger User space is 64-bit by default, but we can compile and run
32-bit code.
right?
No, it's still 32 bit. Only certain user space libraries
(libSystem/libc and a few others) are available as 64 bit variants.
None of the GUI libraries (except possibly X11?) are. See
http://developer.apple.com/macosx/tiger/64bit.html
(4) Tiger kernel space is 32-bit or 64-bit or both?
Similar as Panther, as I understand it.
(5) What is the xnu/ darwin version on Tiger?
8.0? (I don't have a Tiger seed)
How can I know whether my user space and kernel space is 32-bit or
64-bit?
From the page above:
To conditionally compile 64-bit code or define 64-bit APIs, you can use
the __LP64__ and __ppc64__ macros. For example, the following shows a
function prototype defined two different ways depending on whether the
code is being compiled as a 64-bit executable or not:
#ifdef __LP64__
int getattrlist(const char*,void*,void*,size_t, unsigned int);
#else /*__LP64__*/
int getattrlist(const char*,void*,void*,size_t, unsigned long);
#endif
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden