The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Program compiled on unix v6 works on unix v5
@ 2014-07-17  5:28 Mark Longridge
  0 siblings, 0 replies; only message in thread
From: Mark Longridge @ 2014-07-17  5:28 UTC (permalink / raw)


Ok, this is cheating a bit but I was wondering if I could possibly
compile my unix v6 version of unirubik which has working file IO and
run it under unix v5.

At first I couldn't figure out how to send a binary from unix v6 to
unix v5 but I did some experimenting and found:

tp m1r unirubik

which would output unirubik to mag tape #1 and

tp m1x unirubik

which would input unirubik from mag tape #1.

I don't know what cc does exactly but I thought "well if it compiles
to PDP-11 machine code and it's statically linked it could work". And
it actually does work!

I still want to try to get unirubik to compile under Unix v5 cc but
it's interesting that a program that uses iolib functions can work
under unix v5.

Mark



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-17  5:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-17  5:28 [TUHS] Program compiled on unix v6 works on unix v5 Mark Longridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).