On 1/27/09 3:24 PM, Jeremy Pereira said:

>>  Leopard is little endian ( at least on
>> the intel chips, but I have read there are other macs that are
>> big-endian, so I am trying to catch and handle that accordingly)
>
>The endianness is dependent on the processor architecture, not the
>operating system.  Intel Macs are little endian, but PowerPC Macs are
>big endian no matter which OS is running on them.

The PowerPC in fact can run as big or little endian, see:
<http://en.wikipedia.org/wiki/PowerPC#Endian_modes>

You can switch this setting in Open Firmware.  Mac OS however only
supports the PPC in big endian mode.

--
____________________________________________________________
Sean McBride, B. Eng                 [email protected]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to