lua-users home
lua-l archive

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


Currently, I'm building luvit (my lua project that embeds luajit) as
32 bit on OSX. <https://github.com/luvit/luvit/blob/master/Makefile#L12>
 I'd like to not have to do this, but I hit some major issues when
building as 64bit on my snow-leopard box.

2012/1/3 Matthias Dörfelt <hi@mokafolio.de>:
> Hi mike,
>
> i actually did. as far as I can tell it should work by CC="gcc -m32" and actually now that I did it a fourth time, it worked.- I think I forgot to clean before, rooky mistake.
>
> Thanks
>
> Am 03.01.2012 um 13:41 schrieb Mike Pall:
>
>> Matthias Dörfelt wrote:
>>> I am currently trying to build luajit on osx lion on a 2010 Mac
>>> Book Pro with an Intel Core i7. The default make creates the
>>> libs for x86_64 but I need i386 for a project. I guess this
>>> should be possible with the cross compiling feature of luajit,
>>> but unfortunately I have no idea where to start.
>>
>> You could start by reading the documentation:
>>
>> http://luajit.org/install.html#cross
>>
>> --Mike
>>
>>
>
>