lua-users home
lua-l archive

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

On Tue, Apr 03, 2007 at 04:06:13PM -0500, Rici Lake wrote:
> Luiz Henrique de Figueiredo wrote:
> >
> >Anyway, it seems that using dlopen in Mac OS X 10.4 is ok. Great.
> >Again, the correct Makefile line for building Lua to use dlopen is
> >	$(MAKE) all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-lreadline"
> >
> >but perhaps LUA_USE_LINUX is confusing... (LUA_USE_LINUX just means
> Apparently not all Linux distros have dlopen(); there was a query
> on #lua the other day from someone using linuxppc on an
> embedded ARM appliance with no shared object implementation.

Ouph. They probably don't have an MMU, and probably don't support
fork(), either. Is it still unix if it doesn't support fork()?

> It might well be better if LUA_USE_LINUX were removed from luaconf.h,
> and the correct constellation of -D flags put in the Makefile instead.
> That might make it easier all round.

I'd agree.