lua-users home
lua-l archive

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


OK and thanks, compiling now.
I had to change also the top line in test.lua to
#! /usr/local/bin/lua
because the env is there used too.

On 27 mrt. 2013, at 21:45, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

>> Alas, lots of errors. Why?
>> env  gcc -shared -fPIC lpvm.o lpcap.o lptree.o lpcode.o lpprint.o -o lpeg.so
> 
> For Mac OS X you need to edit makefile and uncomment the line below:
> 
> # DLLFLAGS = -bundle -undefined dynamic_lookup
> 
> No need to uncomment the ENV line just above it.
> 

Hans van der Meer