[TUHS] Looking for final C compiler by Dennis Ritchie
pnr at planet.nl
Mon Jul 23 19:24:57 AEST 2018
> On 22 Jul 2018, at 22:49, Dibyendu Majumdar <mobile at majumdar.org.uk> wrote:
>>> I will try to port the C compiler to amd64 - while preserving as much of
>>> the original code as I can. But not sure if this is even feasible.
>> If that is your goal, you might want to start with the version included with 2.11BSD. It is essentially the same as the version from V7, but with 15 more years of bug fixes. I used that source to port V6 Unix to the TI990 architecture back in 2014/2015 and the good thing about it is that it still compiles with a modern gcc.
> I found similarities between the 2.11BSD and 10th edition sources -
> presumably 2.11BSD was based on (or incorporated) changes in the 10th
No, it derives from V7, with much stuff from 4BSD back-ported to the PDP11. See the “Early BSDs” section of the Unix Tree (https://minnie.tuhs.org//cgi-bin/utree.pl). Although V8 also has some 4BSD roots, the V8/V9/V10 lineage is different from the 2.8-2.11 BSD lineage. There was a lot of code sharing back then, it is not a simple picture.
> BTW did you publish your work?
More information about the TUHS