unix-jun72 icon indicating copy to clipboard operation
unix-jun72 copied to clipboard

Modifications required for a clean First Edition disk-images build

Open Jim-F opened this issue 5 years ago • 1 comments

I recently (successfully) got the reconstructed Unix First Edition working under SimH. I built the disk images under OpenSUSE Linux Tumbleweed (fully updated as of this writing).

However, in order to get a clean build, I needed to make the following changes to this distribution package (where represents the top level of the extracted package, containing the top-level Makefile).

In /tools/apout/fp.c "int AC" needs to be "static int AC" in order to avoid "multiple definition" collision with "int32_t AC" in ke11a.c (imported in v1trap.c)

In /patches/core/initorig.patch --- init.clean. . . +++ init.s. . . needs to be changed to: --- build/init.clean. . . +++ build/init.s. . . in order to avoid failure of this patch

Directory '/images' needs to be created manually

Not strictly necessary, but to avoid "warning: Clock skew detected. Your build may be incomplete." modify /build/Makefile and add:

  1. "touch *.clean" following "@touch cleansrc"

  2. "touch *.s" following "@touch patched"

  3. "touch *.dsk" following "@touch images"

Jim-F avatar Jun 13 '20 17:06 Jim-F

The repository unix-v1 did some slight modifications to allow the builds on both Linux and macOS.

jserv avatar Dec 05 '21 11:12 jserv