[TUHS] Memory management in Dennis Ritchie's C Compiler

arnold at skeeve.com arnold at skeeve.com
Mon Aug 17 01:20:42 AEST 2020


Dibyendu Majumdar <mobile at majumdar.org.uk> wrote:

> Hi,
>
> I have a project to revive the C compiler from V7/V10.
> I wanted to check if anyone here knows about the memory management in
> the compiler (c0 only for now). I am trying to migrate the memory
> management to malloc/free but I am struggling to understand exactly
> how memory is being managed.
>
> Thanks and Regards
> Dibyendu

There already is a project that revived PCC, probably starting
with the one in 4BSD.

	http://pcc.ludd.ltu.se/

I have a git mirror, just to make things easier for access through
firewalls:

	https://github.com/arnoldrobbins/pcc-revived

Starting from the V10 compiler would be interesting. It was not available
when the above project was started.

HTH,

Arnold


More information about the TUHS mailing list