LCC (compiler)
LCC ("Local C Compiler" or "Little C Compiler") is a small, retargetable compiler for the ANSI C programming language.[src] Although its source code is available at no charge for personal use, it is not open-source or free software according to the usual definitions because products derived from LCC may not be sold, although components not derived from LCC may be sold.[src] It was developed by Chris Fraser and David Hanson.[src]
LCC ("Local C Compiler" or "Little C Compiler") is a small, retargetable compiler for the ANSI C programming language.[src] Although its source code is available at no charge for personal use, it is not open-source or free software according to the usual definitions because products derived from LCC may not be sold, although components not derived from LCC may be sold.[src] It was developed by Chris Fraser and David Hanson.[src] ==LCC== LCC is intended to be very simple to understand and is well-documented; its design is described in Fraser and Hanson's book A Retargetable C Compiler: Design and Implementation.[src] The book includes most of the source code for version 3.6 of the compiler, which was written as a literate program using noweb.[src] As of July 2011 the current version of LCC is 4.2, but much of the book still applies to this version.[src] The major change since the book was published is in the code-generator interface, which is described in a separate document.[src] The source code for LCC is around 20,000 lines, which is much smaller than many major compilers.[src] LCC can generate code for several processor architectures, including Alpha, SPARC, MIPS, and x86; there is also an LCC backend that generates Microsoft's Common Intermediate Language.[src] ==Projects incorporating LCC== ===lcc-win=== lcc-win32 is an integrated development environment package for Microsoft Windows which includes a fork of LCC.[src] An amd64 counterpart named lcc-win64 exists, which has been available since April 15, 2012.[src] ===Pelles C=== Pelles C is a heavily modified version of LCC providing C11 as well as C17 and C23 support, amd64 support, additional optimisation techniques such as inline expansion and an IDE.[src] ===MathWorks=== For 32-bit Windows machines, Lcc is used as a default if no other compiler is installed for MathWorks MATLAB and related products.[src] ==See also== Tiny C Compiler Portable C compiler Small-C Comparison of integrated development environments ==References== ==External links== Official Pelles C IDE homepage ==Bibliography==[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"LCC (compiler)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/lcc-compiler. Accessed 30 November 2026.
Chicago
"LCC (compiler)." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/lcc-compiler.
APA
encyclopegia.org. (2026). LCC (compiler). Retrieved November 30, 2026, from https://encyclopegia.org/wiki/lcc-compiler
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON