[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: shared library RTTI with gcc
- From: Enrico Tassi <gareuselesinge@...>
- Date: Fri, 5 Oct 2007 14:58:37 +0200
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...
Cheers
--
Enrico Tassi