9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Geoff Collyer <geoff@collyer.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] missing compilers?
Date: Mon, 29 Jul 2002 13:44:28 -0700	[thread overview]
Message-ID: <45427616dfeeac8239866d30aed7d071@collyer.net> (raw)

The powerpc compiler is there but no binary is supplied, so you need
to compile qc, qa and ql yourself.

I have inferno running on OS X.  It's still got some quirks and seems
to work better on 10.2 than 10.1.

A Plan 9 port needs at least a driver for the relevant Ethernet
controller (Apple's GMAC is built in to the Power Mac, as I recall).
For pre-VGA console access, it appears that one needs to use Open
FirmWare's console get and put routines since recent Macs don't seem
to have an accessible serial port.  Keyboard and mouse are normally
USB, which sounds like a pain.  It looks like there is a z8530 DUART
connected to a modem chipset, but the only external connector is a
phone jack.  I'm not sure which interrupt controller and MMU are used,
but all this information should be available in the Darwin or OpenBSD
sources.  The supplied VGA is usually ATI or Nvidia.  Disks and
CD-ROMS are normally IDE.

On the other hand, the Power Macs at least have several PCI slots, so
one could perhaps get an initial port running quickly by inserting
cards that already work on the PC, for example Intel i82557 Ethernet
or Mylex SCSI.  One can substitute Wavelan PCMCIA cards for Airport
cards.

The Open FirmWare boot loader can load AIX XCOFF binaries, which it
appears ql can generate.  As far as I know, qc doesn't exploit Altivec
instructions, so you probably won't see much advantage with a G4 as
compared to a G3.  3rd edition contains an mpc port and 4th edition
contains an mtx port.  One of them is probably a reasonable base to
start from, depending mainly on MMU and interrupt controller.



             reply	other threads:[~2002-07-29 20:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-29 20:44 Geoff Collyer [this message]
2002-07-31  9:35 ` Ben
  -- strict thread matches above, loose matches on Subject: below --
2002-08-05 20:50 Russ Cox
2002-08-05 20:01 ` Sam
2002-08-05  4:26 David Gordon Hogan
2002-08-05  3:58 Geoff Collyer
2002-08-05 17:13 ` Douglas A. Gwyn
2002-08-05 20:50 ` Andrew Simmons
2002-08-06 10:00   ` jkw
2002-08-08 15:40     ` Douglas A. Gwyn
2002-08-01  0:09 okamoto
2002-07-31 17:10 Russ Cox
2002-08-01 15:26 ` Jack Johnson
2002-08-01 21:10 ` Andrew Simmons
2002-07-31 12:38 rog
2002-07-31 16:47 ` Todd Olson
2002-07-29 16:29 Scott Schwartz
2002-07-29 16:07 forsyth
2002-07-29 16:00 Ben

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=45427616dfeeac8239866d30aed7d071@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@cse.psu.edu \
    /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).