Re: The Portable C Compiler (pcc)

2022-01-12 Thread Tom Hunter via cctalk
Anders Magnusson clarified that the DG Nova architecture support has been added by him. It was not part of the original. It is also a work in progress so not quite usable as of now. I will try to make it work for simple single file C programs. Tom On Mon, Jan 10, 2022 at 5:59 PM Tom Hunter

Re: The Portable C Compiler (pcc)

2022-01-10 Thread Tom Hunter via cctalk
I have managed to build the latest version of Anders Magnusson's PCC. It won't build out of the box and requires code and Makefile changes. It emits valid looking Nova assembly. Unfortunately it needs a machine support library which is not included to do function prolog, epilog, shift operators,

Re: The Portable C Compiler (pcc)

2022-01-10 Thread Tom Hunter via cctalk
I have tried to get in touch with Anders Magnusson, but got no reply yet. Tom On Sun, Jan 9, 2022 at 11:36 PM Will Cooke via cctalk wrote: > > > > On 01/09/2022 9:10 AM Tom Hunter via cctalk > wrote: > > > > > > The original "Portable C Compiler" by S. C. Johnson (also known as "pcc") > > had

Re: The Portable C Compiler (pcc)

2022-01-09 Thread Noel Chiappa via cctalk
> From: Tom Hunter > The original "Portable C Compiler" by S. C. Johnson (also known as > "pcc") had functional support for the Data General Nova. Could somebody > please point me to this original implementation? > ... > I am looking for the original implementation - not

Re: The Portable C Compiler (pcc)

2022-01-09 Thread Will Cooke via cctalk
> On 01/09/2022 9:10 AM Tom Hunter via cctalk wrote: > > > The original "Portable C Compiler" by S. C. Johnson (also known as "pcc") > had functional support for the Data General Nova. Could somebody please > point me to this original implementation? > > There is a modern C99 version of

The Portable C Compiler (pcc)

2022-01-09 Thread Tom Hunter via cctalk
The original "Portable C Compiler" by S. C. Johnson (also known as "pcc") had functional support for the Data General Nova. Could somebody please point me to this original implementation? There is a modern C99 version of this compiler maintained by Anders Magnusson at: http://pcc.ludd.ltu.se/