[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: LuaJIT 2 vs. C modules built for Lua
- From: Alexander Gladysh <agladysh@...>
- Date: Tue, 10 Nov 2009 11:01:10 +0300
This looks like a silly question, and I feel that it should be
documented somewhere, but anyway:
Can LJ2 be used with C modules, linked with Lua (on Linux / OS X platforms)?
My intuition says "no". Then I feel that LJ2 should ignore LUA_CPATH
and have its own environment variable.
Looks like practice says "yes" — what I've tried worked. But this is
strange. What am I missing? What are the consequences? What if modules
are accidentally compiled as 64-bit code?