On Tue, Feb 19, 2002 at 10:07:07AM +0000, Daniel Barlow wrote:
> Christophe Rhodes <csr21@...> writes:
> > * A port to a Unix-like OS on an already-supported architecture
> > (e.g. Solaris, Tru64)
OK, that sounds like a good idea, I'll add it on the page.
> > I'd say that something like this would take from a man-week to a
> > man-month, but that may be me being hopelessly optimistic :-)
>
> The LinuxPPC runtime is basically an unholy marriage of the SBCL Alpha
> Linux runtime and the CMUCL PPC runtime: I copied the Alpha files,
> then replaced bits of them ("how do we get a trap? which register
> bits do we use for pseudo-atomic?") with the equivalent PPC code.
> I think it took about a week.
>
> Of course, I was blessed with a target on which I already had working
> mmap and SA_SIGINFO signals: had I had to grovel around on the stack
> looking for somewhere to get the register contents, it could have been
> longer.
I'd tend to agree. The only port I've done was to OpenBSD, and I ended
up rewriting overall SBCL signal handling to do things POSIXly to make
the port work (which is, I hope, more trouble than the average port!)
and although I didn't keep track of it, I'm pretty sure it still took
more like a man-week than a man month.
--
William Harold Newman <william.newman@...>
"Look on my works, ye Mighty, and despair!" -- Ozymandias, King of Kings
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C

Christophe Rhodes <csr21@...> writes:
> * A port to a Unix-like OS on an already-supported architecture
> (e.g. Solaris, Tru64)
>
> I'd say that something like this would take from a man-week to a
> man-month, but that may be me being hopelessly optimistic :-)
The LinuxPPC runtime is basically an unholy marriage of the SBCL Alpha
Linux runtime and the CMUCL PPC runtime: I copied the Alpha files,
then replaced bits of them ("how do we get a trap? which register
bits do we use for pseudo-atomic?") with the equivalent PPC code.
I think it took about a week.
Of course, I was blessed with a target on which I already had working
mmap and SA_SIGINFO signals: had I had to grovel around on the stack
looking for somewhere to get the register contents, it could have been
longer.
-dan
--
http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources

Hi,
A small suggestion regarding the ports page (and an unsubtle hint to
the denizens of this mailing list...):
In the "Other Ports" section, easier than all the things listed is
probably
* A port to a Unix-like OS on an already-supported architecture
(e.g. Solaris, Tru64)
I'd say that something like this would take from a man-week to a
man-month, but that may be me being hopelessly optimistic :-)
Cheers,
Christophe
--
Jesus College, Cambridge, CB5 8BL +44 1223 510 299
http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar
(str schar arg) (first (last +))) (make-dispatch-macro-character #\! t)
(set-dispatch-macro-character #\! #\$ #'pling-dollar)