Building on OS X
This is something we may wish to support, but maybe not. Only if doable. OS X users should probably rather switch to Sortix, maybe develop in a Sortix VM, or get another actual modern Unix-like system. Some of the programs that people encountered when doing this:
- cp -T isn't supported.
- ln -T isn't supported.
- <endian.h> needs to be <machine/endian.h> and #define _DARWIN_C_SOURCE
- no htole32 so <libkern/OSByteOrder.h> and #define htole32(x) OSSwapHostToLittleInt32(x)
- sort -R isn't supported. *- du -b isn't supported.
These feels somewhat doable to handle after we switch to Sortix make.