lua-users home
lua-l archive

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

On Wednesday 06 February 2008 11:19:36 Rob Kendrick wrote:
> On Wed, 2008-02-06 at 11:06 +0100, Grellier, Thierry wrote:
> > Mike, 
> > problem is then to be able to build this x86_32 binary when you only
> > have a x64 OS.
> If using GCC on x86-64, can you not just pass -m32?  This seems to work
> for me building Lua.  I've not tried LuaJIT.

You can only pass -m32 if you have compatibility libraries around,
e.g. a 32bit C library, anf if you use other libraries from within Lua,
like X11, JPEG, GD, etc. then you need them all as 32bit flavour,

Most x86-64 Linux distributions come with a 32bit glibc, but not much


  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin | |