lua-users home
lua-l archive

LuaJIT 2 vs. C modules built for Lua

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


Hi, list!
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?
Alexander.

AltStyle によって変換されたページ (->オリジナル) /