lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
I had plans to deploy the same bytecode archives on 32-bit
and 64-bit platforms, so this potential interoperability
problems now worries me a bit.

It really depends how your C compiler sets ints and longs.

If your C compiler still sets ints to 32 bits, you'll be fine, unless size_t
is 64. You may have to set LUA_UINT32 to an unsigned 32-bit integral type so
that VM instructions match. Please let us know.

Thanks for the input!  I'll be sure to report (and/or come crying ;))
when we get that far.

Regards,
--Adam
--
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3
Bereaved relatives are not amused
As on their dear departed I feverishly consume