From: cubexyz@gmail.com (Mark Longridge)
Subject: [TUHS] Program compiled on unix v6 works on unix v5
Date: Thu, 17 Jul 2014 01:28:23 -0400 [thread overview]
Message-ID: <CADxT5N6nnxYQq32o+06e1scGgR5Y_rHs0d1e2=Vf7M0+-TU1Jw@mail.gmail.com> (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
reply other threads:[~2014-07-17 5:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADxT5N6nnxYQq32o+06e1scGgR5Y_rHs0d1e2=Vf7M0+-TU1Jw@mail.gmail.com' \
--to=cubexyz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).