lua-users home
lua-l archive

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

On Tue, Jul 22, 2008 at 4:39 PM, Jeff Wise <> wrote:
> 1. Distribute object code which is linked on install instead of executables.
> The install process fixes the problem.

That seems to be a favourite tactic of people distributing binary
drivers on Linux, in the never-ending battle between the pragmatists
and the purists.

But, you need to assume there _is_ a linker, which is not common on Windows!

> 2. In the routine, put a compile-time switch which calls an assembler
> language interface to acquire/return the storage (or whatever library
> function is generating the problem).

Here's a naive idea: how about linking the extensions and Lua against
a proxy runtime, which just forwards calls. Then only the proxy needs
to be rebuilt for all the various actual runtime possibilities. Naive,
because runtimes do subtle stuff....

Any thoughts?

steve d.