Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifications required for a clean First Edition disk-images build #1

Open
Jim-F opened this issue Jun 13, 2020 · 1 comment
Open

Comments

@Jim-F
Copy link

Jim-F commented Jun 13, 2020

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"

@jserv
Copy link

jserv commented Dec 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants