The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: cowan@mercury.ccil.org (John Cowan)
Subject: [TUHS] boot block in v7 bootable on rp06 in simh
Date: Sat, 5 Dec 2015 15:12:56 -0500	[thread overview]
Message-ID: <20151205201254.GD2383@mercury.ccil.org> (raw)
In-Reply-To: <56632F68.9050001@gmail.com>

Will Senn scripsit:

> Well, you were right, sim didn't want to build 64 bit. However, I
> already had a working sim, so I simply used the existing pdp11
> binary and your instructions. They worked!

I simply wrap gcc in this script:

#!/bin/sh
exec /usr/bin/gcc -m32 "$@"

to solve problems like this.  I keep it in ~/bin named gcc32 and
then rename it to gcc when I need to compile 32-bit-specific code.
It's much better than trying to whack on the Makefile.  I wish I could
use a similar hack to get bas/bs running directly on Linux: they seem
to assume 16-bitness, and segfault quickly.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan at ccil.org
I don't know half of you half as well as I should like, and I like less
than half of you half as well as you deserve.  --Bilbo



      parent reply	other threads:[~2015-12-05 20:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05 17:03 Will Senn
2015-12-05 17:26 ` Clem Cole
2015-12-05 17:44   ` Will Senn
2015-12-05 19:47     ` Clem Cole
2015-12-05 19:53       ` Clem Cole
2015-12-05 19:59         ` Ronald Natalie
2015-12-05 20:47           ` Clem cole
2015-12-05 20:08         ` Will Senn
2015-12-05 17:53 ` Hellwig Geisse
2015-12-05 18:01   ` Will Senn
2015-12-05 18:39     ` Will Senn
2015-12-05 18:53       ` Hellwig Geisse
2015-12-05 19:46         ` Will Senn
2015-12-05 20:12       ` John Cowan [this message]

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=20151205201254.GD2383@mercury.ccil.org \
    --to=cowan@mercury.ccil.org \
    /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).