LCC (compiler)

LCC
Developer(s)Dave Hanson and Chris Fraser
Initial release1994; 31 years ago (1994)
Stable release
4.2 / September 4, 2002; 22 years ago (2002-09-04)
Written inC
Operating systemCross-platform
TypeCompiler
LicenseLCC License[1]
Websitedrh.github.io/lcc/

LCC ("Local C Compiler" or "Little C Compiler") is a small, retargetable compiler for the ANSI C programming language. Although its source code is available at no charge for personal use,[2] 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.[1] It was developed by Chris Fraser and David Hanson.

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 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.[3]

The source code for LCC is around 20,000 lines, which is much smaller than many major compilers.[4]

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.[5]

Projects incorporating LCC

Quake 3

id Software's id Tech 3 engine relies on a modified version of LCC to compile the source code of each game module or third-party mod into bytecode targeting its virtual machine.[6] This means that modules are oblivious to the system beyond the system calls and limited file system scope offered by the engine, which is intended to reduce the threat posed by malicious mod authors. Another consideration is that games and mods written for the engine are portable without recompilation; only the virtual machine needs to be ported to new platforms in order to execute the modules.

lcc-win

lcc-win32 is an integrated development environment package for Microsoft Windows which includes a fork of LCC. An amd64 counterpart named lcc-win64 exists, which has been available since April 15, 2012.[7]

Pelles C

Pelles C's compiler is a heavily modified version of LCC providing C11 as well as C17 support, amd64 support, additional optimisation techniques such as inline expansion[8] and an IDE.

MathWorks

For 32-bit Windows machines, Lcc is used as a default if no other compiler is installed for MathWorks MATLAB and related products.[9]

License

LCC is free for personal use and may be redistributed provided all distribution media and product documentation acknowledges it. The LCC license relies on examples in multiple cases. LCC may not be sold for profit, but it may be included with other software that is sold for profit, provided LCC itself is distributed for free. Per user and unlimited use licenses are available by contacting Addison-Wesley, in particular for compilers of languages such as C++ for which a C compiler may constitute much of its work.[1]

See also

References

  1. ^ a b c "LCC License". GitHub. Retrieved 5 July 2011.
  2. ^ "Official Github Repository". GitHub.
  3. ^ Fraser, Christopher W.; Hanson, David R. (July 2001). "The lcc 4.x Code-Generation Interface" (PDF). Microsoft Research. Technical Report MSR-TR-2001-64. Retrieved 5 July 2011.
  4. ^ 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. [1]
  5. ^ Hanson, David R. (March 2004). "Lcc.NET: Targeting the .NET Common Intermediate Language from Standard C" (PDF). Microsoft Research. Retrieved 22 July 2012.
  6. ^ "John Carmack's .plan file, 24 July, 1999". Archived from the original on 2008-05-12.
  7. ^ lcc-win: A Compiler system for Windows
  8. ^ Pelles C Overview
  9. ^ "Build MEX-Files". Archived from the original on 14 September 2012. Retrieved 6 November 2013.

Bibliography

Read other articles:

Bandai Namco beralih ke halaman ini. Untuk perusahaan induknya, lihat Bandai Namco Holdings. Untuk distributor di wilayah PAL, lihat Bandai Namco Partners. Bandai Namco Entertainment Inc.Fun for All Into the FutureMarkas Bandai Namco di Sumitomo Fudosan Mita Building, TokyoNama asli株式会社バンダイナムコゲームスエンターテインメントNama latinKabushiki gaisha Bandai Namuko EntāteinmentoSebelumnyaNakamura Seisakusho (1955–1959)Nakamura Manufacturing (1959–1977)Namco...

 

 

PT Cemindo Gemilang Tbk.Kode emitenIDX: CMNTIndustriBahan BangunanDidirikan2011KantorpusatJakarta, IndonesiaTokohkunciOza Guswara (General Manager - Sales & Marketing)ProdukSemenKaryawan500-600 (2014)AnakusahaPT Motive Mulia (Merah Putih Beton)Situs websemenmerahputih.com PT Cemindo Gemilang merupakan salah satu produsen semen premium di Indonesia. Perusahaan ini berdiri sejak tahun 2011 dan merupakan pemegang merek Semen Merah Putih. Saat ini PT Cemindo Gemilang telah memiliki empat pabr...

 

 

How to Lose a Guy in 10 DaysPoster filmSutradaraDonald PetrieProduserRobert EvansChristine Forsyth-PetersLynda ObstDitulis olehMichele AlexanderJeannie Long (Buku)Kristen BuckleyBrian ReganBurr Steers (Film)PemeranKate HudsonMatthew McConaugheyAdam GoldbergBebe NeuwirthPenata musikDavid NewmanSinematograferJohn BaileyPenyuntingDebra Neil-FisherDistributorParamount PicturesTanggal rilis 7 Februari 2003 (2003-02-07) Durasi116 menitNegaraAmerika SerikatBahasaInggrisAnggaran$50,000,000...

Синелобый амазон Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:ЗавропсидыКласс:Пт�...

 

 

Untuk dokter dari Raja Juba II dari Numidia, yang menjadi cikal bala dari nama tumbuhan Euphorbia, lihat Euphorbus (dokter). Menelaus dan Hector memperebutkan jasad Euphorbus, di plakat Euphorbos, dari Rhodes, gaya Wild Goat Pertengahan, sekitar 600 SM, British Museum. Dalam mitologi Yunani, Euphorbus (bahasa Yunani Kuno: Εὔφορβος; atau Euforbo) adalah seorang pahlawan Troya pada Perang Troya. Keluarga Euphorbus adalah putra dari pasangan Panthous dan Phrontis menurut Homer[1]...

 

 

Peta Kabupaten Tojo Una-Una di Sulawesi Tengah Berikut adalah daftar kecamatan dan kelurahan di Kabupaten Tojo Una-Una, Provinsi Sulawesi Tengah, Indonesia. Kabupaten Tojo Una-Una terdiri dari 12 kecamatan, 12 kelurahan, dan 134 desa dengan luas wilayah 5.721,15 km² dan jumlah penduduk sebesar 155.885 jiwa dengan sebaran penduduk 27 jiwa/km².[1][2] Daftar kecamatan dan kelurahan di Kabupaten Tojo Una-Una, adalah sebagai berikut: Kode Kemendagri Kecamatan Jumlah Kelurahan Jum...

2003 single by Nas Get DownSingle by Nasfrom the album God's Son ReleasedJuly 8, 2003GenreHip hopLength4:04LabelIll Will, ColumbiaSongwriter(s)Nasir JonesSalaam GibbsJames BrownFred WesleyCharles A. BobbitProducer(s)Nas, Salaam RemiNas singles chronology I Can (2003) Get Down (2003) Thief's Theme (2004) Get Down is the third and final single released from Nas' 2002 album God's Son. It features descriptive storytelling by written and performed by Nas, who also produced the record with frequent...

 

 

Neocerambyx Neocerambyx oenochrous Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Kelas: Insecta Ordo: Coleoptera Famili: Cerambycidae Genus: Neocerambyx Neocerambyx adalah genus kumbang tanduk panjang yang tergolong famili Cerambycidae. Genus ini juga merupakan bagian dari ordo Coleoptera, kelas Insecta, filum Arthropoda, dan kingdom Animalia. Larva kumbang dalam genus ini biasanya mengebor ke dalam kayu dan dapat menyebabkan kerusakan pada batang kayu hidup atau kayu yang telah di...

 

 

Cette page dresse une liste des chanceliers fédéraux de la république d'Autriche depuis 1918. La période inclut la république d'Autriche allemande (jusqu'au 21 octobre 1919), la Première République et l'État fédéral (du 21 octobre 1919 au 13 mars 1938), ainsi que la république actuelle (depuis le 27 avril 1945). Au temps de l'Autriche sous le nazisme, de 1938 à 1945, il n'existait aucun gouvernement souverain. Le chef du gouvernement a été titré « chancelier d'État ...

Highway in California State Route 259SR 259 highlighted in redRoute informationMaintained by CaltransLength1.48 mi[1] (2.38 km)Existed1968–presentMajor junctionsSouth end I-215 in San BernardinoNorth end SR 210 in San Bernardino LocationCountryUnited StatesStateCaliforniaCountiesSan Bernardino Highway system State highways in California Interstate US State Scenic History Pre‑1964 Unconstructed Deleted Freeways ← SR 255→ SR 260 S...

 

 

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)&#...

 

 

Módulos DRAM. La memoria dinámica de acceso aleatorio o DRAM (del inglés dynamic random-access memory) es un tipo de tecnología de memoria de acceso aleatorio (RAM) basada en condensadores, los cuales pierden su carga progresivamente, necesitando de un circuito dinámico de refresco que, cada cierto período, revisa dicha carga y la repone en un ciclo de refresco. En oposición a este concepto surge el de SRAM (RAM estática), con la que se denomina al tipo de tecnología RAM basada en se...

SMP Negeri 51 SurabayaInformasiRentang kelasVII, VIII, IXKurikulumKurikulum Tingkat Satuan PendidikanAlamatLokasiJl. Raya Balas Klumprik No. 125 Surabaya, Balas Klumprik, Surabaya, Jawa TimurMoto SMP Negeri 51 Surabaya, merupakan salah satu sekolah menengah pertama negeri yang ada di Provinsi Jawa Timur, Indonesia. Sama dengan SMP pada umumnya di Indonesia masa pendidikan sekolah di SMP Negeri 51 Surabaya ditempuh dalam waktu tiga tahun pelajaran, mulai dari Kelas VII sampai Kelas IX[1 ...

 

 

2-Nonanol Nama Nama IUPAC (preferensi) Nonan-2-ol Penanda Nomor CAS 628-99-9 N Model 3D (JSmol) Gambar interaktif 3DMet {{{3DMet}}} ChEBI CHEBI:78304 N ChEMBL ChEMBL454517 Y ChemSpider 11861 Y Nomor EC PubChem CID 12367 Nomor RTECS {{{value}}} UNII 292T5234DX Y CompTox Dashboard (EPA) DTXSID60862323 InChI InChI=1S/C9H20O/c1-3-4-5-6-7-8-9(2)10/h9-10H,3-8H2,1-2H3 YKey: NGDNVOAEIVQRFH-UHFFFAOYSA-N YInChI=1/C9H20O/c1-3-4-5-6-7-8-9(2)10/h9-10H,3-8H2,1-2H3Ke...

 

 

Occupation of derelict land or abandoned buildings Philippines on globe A squatter settlement in Manila in 2007 Shacks at Payatas dumpsite in 2010 Urban areas in the Philippines such as Metro Manila, Metro Cebu, and Metro Davao have large informal settlements. The Philippine Statistics Authority defines a squatter, or alternatively informal dwellers, as One who settles on the land of another without title or right or without the owner's consent whether in urban or rural areas.[1] Squa...

David JamisonRecorder of New York CityIn officeJune 10, 1712 – June 1724GovernorRobert HunterWilliam BurnetPreceded byMay BickleySucceeded byFrancis HarisonAttorney General of the Province of New YorkIn officeJune 10, 1712 – July 1721GovernorRobert HunterWilliam BurnetPreceded byMay BickleySucceeded byJames AlexanderChief Justice of the Province of New JerseyIn office1711 – November 1723GovernorRobert HunterWilliam Burnet Personal detailsBorn1660Linlithgow, Sc...

 

 

Coup d'etat in Cuba in September 1933 Cuban Revolution of 1933Ramón Grau, Sergio Carbó and Sgt. Fulgencio Batista, leaders in the government formed by the coupDateSeptember 4–5, 1933LocationHavana, Pinar del Rio, MatanzasResult President Carlos Manuel de Céspedes y Quesada deposed, and One Hundred Days Government created.Government-Insurgents Government of Cuba Cuban Military Directorio Estudiantil UniversitarioCommanders and leaders Carlos Manuel de Céspedes y Quesada Carlos Saladrigas...

 

 

Consonantal sounds represented by ⟨n⟩ in IPA For consonants followed by superscript ⁿ, see Nasal release. Alveolar nasal redirects here. For the voiceless consonant, see Voiceless alveolar nasal. This article may be too technical for most readers to understand. Please help improve it to make it understandable to non-experts, without removing the technical details. (April 2018) (Learn how and when to remove this message) Voiced alveolar nasalnIPA Number116Audio sample source ·&...

Social community of Odisha, India Gauda (caste) redirects here. For similar name pastoralist society of Jharkhand, see Gour (caste). For its namesake other uses, see Gopal. Gopal (Gauda)ClassificationAhir (Yadav)ReligionsHinduismLanguagesOdiaPopulated statesOdishaPopulation431,474 (1901 census)[1]890,702 (1931 census)[2]SubdivisionsMathurapuriaGopapuriaMagadhaaRelated groupsAhir, Sadgope Gopal or Gouda is an Indian caste,[3][4][5] from Odisha State in E...

 

 

Ancient Roman bath, a landmark of Rome, Italy Baths of CaracallaLatin: Thermae AntoninianaeThe baths as viewed from the south-west. The caldarium would have been in the front of the imageBaths of CaracallaThe location of the baths in Rome during AntiquityClick on the map for a fullscreen viewAlternative nameItalian: Terme di CaracallaLocationRome, ItalyRegionRegio XII Piscina PublicaCoordinates41°52′46″N 12°29′35″E / 41.87944°N 12.49306°E / 41.87944; 1...