lua-users home
lua-l archive

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




On Thu, Feb 20, 2020 at 3:09 AM Coda Highland <chighland@gmail.com> wrote:


On Thu, Feb 20, 2020 at 2:27 AM Chris Smith <space.dandy@icloud.com> wrote:

> On 20 Feb 2020, at 03:05, Coda Highland <chighland@gmail.com> wrote:
>
> Also embedding LuaJIT on macOS is a headache.


Really?  I tend not to use LuaJIT, but I’ve done this before and I seem to recall it just needed pagezero_size and image_base linker flags to work.  What else don’t I know that might bite me?

Regards,
Chris

Those linker flags only work for applications. If you're linking LuaJIT into a library/plugin and you don't control the application loading it, you're out of luck. That's why I had to abandon it.

/s/ Adam

Mike Pall said on the LuaJIT mailing list, last week, that this is obsolete as of the current v2.1 branch, which uses GC64 mode by default.

I admittedly haven't been able to get this to work in my own application, but I'm confident that's user error...

cheers,
-Sam.