Re: Endian dependence
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Endian dependence
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2001年10月25日 12:29:54 -0200
>Is compiled code generated from luac endian-dependent?
No. The man page http://www.lua.org/manual/luac.html says:
The binary files created by luac are portable to all architectures with
the same word size. This means that binary files created on a 32-bit
platform (such as Intel) can be read without change in another 32-bit
platform (such as Sparc), even if the byte order (``endianess'') is
different. On the other hand, binary files created on a 16-bit platform
cannot be read in a 32-bit platform.
--lhf