[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] luaposix 5.1.28 released
- From: David Burgess <dburgess@...>
- Date: Sat, 6 Apr 2013 19:13:59 +1100
Exactly what I had already derived. I just resent the time it took to
figure it out.
On Sat, Apr 6, 2013 at 6:59 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Sat, Apr 6, 2013 at 9:40 AM, David Burgess <dburgess@gmail.com> wrote:
>>
>> just want to know what #defines, compile/link options are used on (say
>> linux) and I can then map this pretty quickly to my target platform.
>>
> Try this:
>
> // config.h
> #define HAVE_STATVS 1
> #define HAVE_CRYPT 1
> #define VERSION "5.1.20"
> #define HAVE_CRYPT_H 1
>
> gcc -c -O2 -Wall -I<lua-include> -I. -fpic lposix.c -o lposix.o
> gcc -shared lposix.o -lcrypt -lrt -o posix_c.so
>
> The actual module is posix.lua which loads posix_c
>
> This doesn't include the curses support, of course.
--
David Burgess