[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: poll on luac
- From: "Joshua Jensen" <jjensen@...>
- Date: Fri, 3 Jun 2005 08:08:04 -0600
> 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