lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On Fri, Jun 03, 2005 at 11:55:16AM +0930, Peter Loveday wrote:
> > Having said that, I'd rather see the ability to load 64/32 bit 
> > versions on other hosts added to make it portable, than 
> lose endian.  
> > But one without the other is more or less pointless.
> 
> Er, no, not for people who are cross-compiling from a 
> little-endian 32-bit machine to a big-endian 32-bit machine.

Mine is the reverse.  I have to compile the scripts on a big-endian 32-bit
machine.  They are run on a little-endian 32-bit machine.  Lua does the
necessary byte swapping on the data at load time.  Of course, I would prefer
to have the compiled script in the native little-endian format, as load
times would be faster, but unfortunately, there doesn't seem to be a way to
do this...

Josh