lua-users home
lua-l archive

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


If I remember correctly, using doubles for floating point is strongly
discouraged on the PS2, right?  So if your PS2 lua is compiled to use
floats, make sure your PC version is also compiled to use floats (the
distribution defaults to doubles).

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br]On Behalf Of Luiz Henrique de
Figueiredo
Sent: Friday, January 09, 2004 6:26 PM
To: lua@bazar2.conectiva.com.br
Subject: Re: Lua multiplatform problems

>We just ran into a problem where Lua code compiled and dumped on the PC
>will not run when loaded onto a Lua VM on the PS2. When the raw lua text
>is loaded, it works in both cases. Any idea why this is? Or how to fix
>it?

Probably a mismatch in the size of ints in both platforms. You should have
received a clear message about this. If not, post more details.

Cross-compiling has been discussed before here in the list, and some simple
solutions proposed. Search the archive or contact me offline.
--lhf