gcc cross compiler for PDP-11

From: Jochen Kunz <jkunz_at_unixag-kl.fh-kl.de>
Date: Tue Feb 3 07:34:44 2004

On Tue, Feb 03, 2004 at 01:00:02PM +0100, Fred N. van Kempen wrote:

> GCC version 3.x generates code that, um, sucks. For most C-based
> programming, there is absolutely no reason to "upgrade" beyond the
> older (V2.95.3) release, which works fine with the pdp11 backend.
GCC 2.95 has serious problems corss compiling across the LP32 / LP64
boundary. I can say this out of my own experience as a NetBSD hacker.

> > You can't simply cross compile the "as" from 2.11BSD because it's
> > written in assembler. (but it sure looks like it was C at point)
> No, UNIX as was always written in assembler, although they did use
> some tools to clean it up later on. Later (non-PDP11) versions were
> in C, obviously.
Well. Maybe C was modeled after that assembler code. ;-)
-- 
tsch??,
         Jochen
Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
Received on Tue Feb 03 2004 - 07:34:44 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:41 BST