lua-users home
lua-l archive

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



> On Oct 25, 2019, at 11:12 AM, Russell Haley <russ.haley@gmail.com> wrote:
> 
> Thanks Frank. 
> 
> How does one cross compile in Lua?
> 
> Russ

We didn’t
We downloaded the lua source to the target and compiled locally. a couple of reasons

1 The compiler is not that big

2 we were targeting heterogeneous systems, so we’d have to precompile for all targets (and possibly variants of each target)

3 we thought we wanted the ability to add additional code to an executing lua program  (which would compile it via load() and execute it).

Frank