DoctorWkt / pdp7-unix

A project to resurrect Unix on the PDP-7 from a scan of the original assembly code
GNU General Public License v3.0
431 stars 71 forks source link

Two bug fixes #231

Closed teverett closed 2 years ago

philbudne commented 2 years ago

The .simh file has been that way for some time; "#" seems to work for me (using github based simh 4.0); what are you using? Does ";" work as a comment for you? I think that would be better than adding noise to the boot process.

Regarding the os.mk changes; this ALSO looks like something that has been working (for fairly large values of working). What O/S are you on, and what version of gnu make?

About os.mk, it seems odd to me to have a file that's gnu make specific (fails to parse under FreeBSD make) having to figure out the command name for gnu make?! Isn't the MAKE variable automatically set? Here, on FreeBSD 13.0:

mail% cat m
all:
    echo $(MAKE)
mail% make -f m
echo make
make
mail% gmake -f m
echo gmake
gmake

I'm also (somewhat) skeptical that there is a platform where "cc" (the default value of CC) wouldn't point to a suitable C compiler (gcc or lcc), tho the Linux world is large and wooly.... And I can easily imagine I'll think better of this paragraph when I finish the mug of coffee in front of me!

teverett commented 2 years ago

I'm using github TRUNK, v4.0.0-current

PDP-7 simulator V4.0-0 Current git commit id: d8d324de sim> show version PDP-7 simulator V4.0-0 Current It doesn't look like the '#' is valid for comments in 3.9. It's fine in 4.0.

With respect to the quotes, FreeBSD 13. I'm bored on holidays so I'm configuring FreeBSD host in AWS to serve pdp7-unix.