3 ms·
> These are not capable of being compiled today with modern c compilers like gcc Is that only because it includes PDP-11 assembly code, or has the language cha
by zahlman 2y ago
> These are not capable of being compiled today with modern c compilers like gcc
Is that only because it includes PDP-11 assembly code, or has the language changed too much?
- sanxiyn 2y agoAs documented in http://cs.bell-labs.co/who/dmr/chist.html http://cs.bell-labs.co/who/dmr/chist.html, the primary incompatibility is uses of =+ for +=. Grep for =+ in the repository.
- makeset 2y agoThat's sed-able, if it were just that.
- vaxman 2y agoPDP-7 Macro Assembler BTW, Unix on DEC hardware was never really popular outside of academia so DEC's machines were primarily programmed in FORTRAN, BASIC or Macro assembler, but there were still several third-party C compilers (for RT11, RSX11, RSTS/E, TOPS and VMS). My shop had spun off of Bell Labs so we had just a few Unix weirdos running things, but the bazillion dollar VAXcluster only ran VMS, so they made us all use Whitesmith's C (which they would incorrectly pronounce with three syllables) which was horrible - so was constantly getting in trouble for continuing to work the evil FORTRAN77 ways 'til one day a Lead (pear-shaped Unix grandmaster smellable from 20 feet away) dropped this on my desk with a thud http://www.bitsavers.org/pdf/dec/vax/lang/c/AA-L370A-TE_Programming_in_VAX_C_1.0_198205.pdf http://www.bitsavers.org/pdf/dec/vax/lang/c/AA-L370A-TE_Prog... Soon, I was spending my hard earned dollars on Lattice and Aztec C licenses for my own home-brew systems too. I resisted Unix to the very End tho #rofl