Re: Dogfood v1.0.2 has been released; an alternative for building self contained Lua executables
[
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: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2020年8月25日 18:06:54 -0300
Here are the changes I made to build dogfood in macOS 10.11.6.
Perhaps use "wc -c < 1ドル" instead of stat?
diff -r ../Downloads/dogfood-master/bootstrap.sh dogfood-master/bootstrap.sh
11c11
< PAYLOAD=$(printf "\r\n-- dogfood %08X\r\n" $(stat -L -c %s 1ドル))
---
> PAYLOAD=$(printf "\r\n-- dogfood %08X\r\n" $(stat -L -f %z 1ドル))
18c18
< printf "\r\n-- food %08X\r\n" $(stat -L -c %s 2ドル) >> 3ドル
---
> printf "\r\n-- food %08X\r\n" $(stat -L -f %z 2ドル) >> 3ドル
diff -r ../Downloads/dogfood-master/makefile dogfood-master/makefile
57c57
< $(CC) $(CFLAGS) -shared -o $@ -fPIC $+
---
> $(CC) $(CFLAGS) -bundle -undefined dynamic_lookup -o $@ $+