[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and Sol2 on Embedded Target?
- From: Frank Kastenholz <fkastenholz@...>
- Date: Fri, 25 Oct 2019 11:55:41 -0400
> 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