[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: Endian dependence
From: Luiz Henrique de Figueiredo <lhf () tecgraf ! puc-rio ! br>
Date: 2001-10-25 14:29:54
Message-ID: 200110251429.MAA19928 () magritte ! tecgraf ! puc-rio ! br
[Download RAW message or body]
>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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic