lua-users home
lua-l archive

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

On Thu, Oct 04, 2007 at 11:58:09AM -0400, Ronan Collobert wrote:
> Right now people have to re-compile their own Lua to use any C++
> libraries dependent on RTTI.

Wouldn't it work to load a .so with a custom loadlib (i.e. defined in a
custom C module) that loads it with the flags you want?
You may also need some sugar to make your C++ module loaded in that way
(like a .lua file, with the same name of the .so, that is loaded when a
require is run and loads the C++ .so by hand).

Any drawbacks? It seems better then recompiling lua...

Enrico Tassi