Re: [Tack-devel] all of Ack-5.5 under Linux
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: David G. <dg...@co...> - 2018-06-20 22:30:44
|
On Wed, 20 Jun 2018 at 22:47 <u-...@ae...> wrote: [...] > What is a "machine target"? Guessing: > "a combinations of a CPU and an OS syscall API"? > This is more or less what Ack-5.5 "mach" is, that's why I asked. > Yup. In fact, 5.5 had the same divide, it's just it put both types of thing in the same mach directory --- this is why there's a mach/minix (containing the OS-specific bit) and a mach/i386 (containing the CPU-specific bit). I split these into two directories because I found it confusing. The libc is currently in lang/cem/libcc.ansi, and it contains both the OS-generic things like strcmp() and malloc(), and also some OS-specific things like system() and stdio, which rely on Posix system calls. This is all mixed together and there's no (good) way for a plat to configure it. > The reusable parts do not logically "belong" to any "machine target" > so for clarity should have their own place. > What do you mean by reusable parts in this context? |