From: Eric Hodel Date: 2006-11-17T04:51:57+09:00 Subject: Re: Endianess of the underlying platform On Nov 16, 2006, at 5:42 AM, Austin Ziegler wrote: > On 11/16/06, Francis Cianfrocca wrote: >> On 11/15/06, Eric Hodel wrote: >> > Beware, some versions of ruby shipped with OS X have a broken pack >> > where the endianness is swapped. >> Kinky. Is it a bug, or a hack intended to make PowerPCs look like >> Intel >> chips? > > Bug. It was fixed in a later OS update, IIRC. Yes. Apple cross-compiled ruby from Intel to PPC and Ruby assumes the source and target architectures have the same endianness. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com