Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
LCC (compiler)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==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''. The book includes most of the source code for version 3.6 of the compiler, which was written as a [[literate programming|literate program]] using [[noweb]]. As of July 2011 the current version of LCC is 4.2, but much of the book still applies to this version. The major change since the book was published is in the code-generator interface, which is described in a separate document.<ref>{{cite web |title=The lcc 4.x Code-Generation Interface |last1=Fraser |first1=Christopher W. |last2=Hanson |first2=David R. |date=July 2001 |publisher=Microsoft Research |id=Technical Report MSR-TR-2001-64 |url=http://storage.webhop.net/documents/interface4.pdf |access-date=5 July 2011}}</ref> The source code for LCC is around 20,000 lines, which is much smaller than many major compilers.<ref> Sao-Jie Chen, Guang-Huei Lin, Pao-Ann Hsiung, Yu-Hen Hu. "Hardware software co-design of a multimedia SOC platform". Section 5.6.1: LCC Compiler Infrastructure. [https://books.google.com/books?id=OXyo3om9ZOkC&dq=LCC+compiler&pg=PA107] </ref> LCC can generate code for several processor architectures, including [[DEC Alpha|Alpha]], [[SPARC]], [[MIPS architecture|MIPS]], and [[x86]]; there is also an LCC backend that generates Microsoft's [[Common Intermediate Language]].<ref>{{cite web |title=Lcc.NET: Targeting the .NET Common Intermediate Language from Standard C |last1=Hanson |first1=David R. |date=March 2004 |publisher=Microsoft Research |url=http://storage.webhop.net/documents/msil-spe.pdf |access-date=22 July 2012}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)