encyclopegia.org

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

Related articles

LCC

stub · references available

compiler-compiler

stub · references available

Tiny C Compiler

stub · references available

Compiler

stub · references available

Glasgow Haskell Compiler

stub · references available

Java compiler

stub · references available

Compiler Description Language

stub · references available

SPITBOL compiler

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1353956270 · 0.5 · snapshot enwiki-001353956270

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.