lua-users home
lua-l archive

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


> Has anyone built lpeg for OSX?  My builds are giving me massive double
> free/malloc errors for some reason.

I (just) did. It worked OK, with the following options:

export MACOSX_DEPLOYMENT_TARGET=10.3
gcc -I../.. -Wall -O2 -bundle -undefined dynamic_lookup -o  lpeg.so lpeg.c

-- Roberto