Point of a compiler is to convert C code to machine code of hex/binary/object file in least amount of time and conserving as much memory as can be done. To create good error-free sequence of instructions is also one objective. The values of memory required are definitely not of order 1GB. There are OSes which can be booted in less than 100MB. Thanking you Sagar Acharya https://designman.org 14 Feb 2023, 18:13 by xry111@xxxxxxxxxxx: > On Tue, 2023-02-14 at 13:28 +0100, Sagar Acharya wrote: > >> The real question is, whether building a compiler should require 900MB >> memory? >> >> And my answer to it is a clear undisputed no. 900MB is more than >> enough memory for building a compiler. >> > > GCC is a real compiler, not an example in the compiler textbook. > > -- > Xi Ruoyao <xry111@xxxxxxxxxxx> > School of Aerospace Science and Technology, Xidian University >