de2c7c3f25
Rename plat/linux/libsys/errno.s to plat/linux386/libsys/trapno.s and stop building it for linux68k and linuxppc. It defines symbols for mach/i386/libem. In syscalls.h, the numbers after 165 are only for i386, so hide them from 68k, ppc. These numbers are unused, because the system calls now in libsys use the lower numbers. Also teach the build system that libsys depends on the internal headers in plat/linux/libsys/*.h |
||
---|---|---|
.. | ||
include | ||
libsys | ||
boot.s | ||
build-pkg.lua | ||
build-tools.lua | ||
descr | ||
README |
The osx386 platform =================== ack -mosx386 ... This platform produces Mach-o executables for Intel Mac OS X. These are 32-bit executables using our i386 code generator. See ../osxppc/README, because our osx386 platform has many of the same limitations and bugs as our osxppc platform. Bugs ---- Some programs can't read the tty after using job control to suspend and resume the program (with ^Z and "fg" in bash). The read(2) system call fails with EINTR. In ACK's stdio (in libc), the error is sticky, so all reads fail. In Apple's stdio, the error is not sticky, and only the next read fails. The EINTR seems to happen only on Intel Mac OS X, and not on other platforms. George Koehler <xkernigh@netscape.net> 2016-12-03