[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Perhaps USE_LINUX should go away. Was Re: OS X is not (should not be) so different
- From: Sam Roberts <sroberts@...>
- Date: Tue, 3 Apr 2007 14:20:07 -0700
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
> >LUA_USE_POSIX, LUA_USE_DLOPEN, and LUA_USE_READLINE).
>
> 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.
Sam
- References:
- RE: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Jerome Vuarand
- Re: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Asko Kauppi
- Re: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Asko Kauppi
- Re: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Gé Weijers
- OS X is not (should not be) so different, Asko Kauppi
- Re: OS X is not (should not be) so different, Sam Roberts
- Re: OS X is not (should not be) so different, Luiz Henrique de Figueiredo
- Re: OS X is not (should not be) so different, Ken Smith
- Re: OS X is not (should not be) so different, Luiz Henrique de Figueiredo
- Perhaps USE_LINUX should go away. Was Re: OS X is not (should not be) so different, Rici Lake