[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Dogfood v1.0.2 has been released; an alternative for building self contained Lua executables
- From: "Jasper Klein" <jasper@...>
- Date: Wed, 26 Aug 2020 22:35:42 +0200
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