lua-users home
lua-l archive

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


Thank you for trying dogfood on macOS.

Here are the changes I made to build dogfood in macOS 10.11.6.
Perhaps use "wc -c < $1" instead of stat?

"wc -c < $1" is indeed better than stat.
I didn't know there was so much difference in usage of stat between BSD and GNU.

 diff -r ../Downloads/dogfood-master/makefile dogfood-master/makefile
 57c57
 < $(CC)  $(CFLAGS) -shared -o $@ -fPIC $+
 ---
> $(CC) $(CFLAGS) -bundle -undefined dynamic_lookup -o $@ $+

The flags to build the module on macOS are not accepted by GCC on Linux.
I will try to find a solution for it.

-- Jasper