<s>
LCC	B-Language
(	O
"	O
Local	B-Language
C	I-Language
Compiler	I-Language
"	O
or	O
"	O
Little	B-Language
C	I-Language
Compiler	I-Language
"	O
)	O
is	O
a	O
small	O
,	O
retargetable	B-Application
compiler	I-Application
for	O
the	O
ANSI	O
C	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
Although	O
its	O
source	O
code	O
is	O
available	O
at	O
no	O
charge	O
for	O
personal	O
use	O
,	O
it	O
is	O
not	O
open-source	B-Application
or	O
free	B-Application
software	I-Application
according	O
to	O
the	O
usual	O
definitions	O
because	O
products	O
derived	O
from	O
LCC	B-Language
may	O
not	O
be	O
sold	O
,	O
although	O
components	O
not	O
derived	O
from	O
LCC	B-Language
may	O
be	O
sold	O
.	O
</s>
<s>
It	O
was	O
developed	O
by	O
Chris	B-Language
Fraser	I-Language
and	O
David	O
Hanson	O
.	O
</s>
<s>
LCC	B-Language
is	O
intended	O
to	O
be	O
very	O
simple	O
to	O
understand	O
and	O
is	O
well-documented	O
;	O
its	O
design	O
is	O
described	O
in	O
Fraser	O
and	O
Hanson	O
's	O
book	O
A	O
Retargetable	O
C	B-Language
Compiler	B-Language
:	O
Design	O
and	O
Implementation	O
.	O
</s>
<s>
The	O
book	O
includes	O
most	O
of	O
the	O
source	O
code	O
for	O
version	O
3.6	O
of	O
the	O
compiler	B-Language
,	O
which	O
was	O
written	O
as	O
a	O
literate	B-Application
program	I-Application
using	O
noweb	B-Application
.	O
</s>
<s>
As	O
of	O
July	O
2011	O
the	O
current	O
version	O
of	O
LCC	B-Language
is	O
4.2	O
,	O
but	O
much	O
of	O
the	O
book	O
still	O
applies	O
to	O
this	O
version	O
.	O
</s>
<s>
The	O
source	O
code	O
for	O
LCC	B-Language
is	O
around	O
20,000	O
lines	O
,	O
which	O
is	O
much	O
smaller	O
than	O
many	O
major	O
compilers	B-Language
.	O
</s>
<s>
LCC	B-Language
can	O
generate	O
code	O
for	O
several	O
processor	O
architectures	O
,	O
including	O
Alpha	B-Device
,	O
SPARC	B-Architecture
,	O
MIPS	B-Device
,	O
and	O
x86	B-Operating_System
;	O
there	O
is	O
also	O
an	O
LCC	B-Language
backend	O
that	O
generates	O
Microsoft	O
's	O
Common	O
Intermediate	O
Language	O
.	O
</s>
<s>
id	O
Software	O
's	O
id	B-Application
Tech	I-Application
3	I-Application
engine	O
relies	O
on	O
a	O
modified	O
version	O
of	O
LCC	B-Language
to	O
compile	B-Language
the	O
source	O
code	O
of	O
each	O
game	O
module	O
or	O
third-party	O
mod	O
into	O
bytecode	O
targeting	O
its	O
virtual	B-Architecture
machine	I-Architecture
.	O
</s>
<s>
This	O
means	O
that	O
modules	O
are	O
oblivious	O
to	O
the	O
system	O
beyond	O
the	O
system	B-Operating_System
calls	I-Operating_System
and	O
limited	O
file	B-Application
system	I-Application
scope	O
offered	O
by	O
the	O
engine	O
,	O
which	O
is	O
intended	O
to	O
reduce	O
the	O
threat	O
posed	O
by	O
malicious	O
mod	O
authors	O
.	O
</s>
<s>
Another	O
consideration	O
is	O
that	O
games	O
and	O
mods	O
written	O
for	O
the	O
engine	O
are	O
portable	B-Architecture
without	O
recompilation	O
;	O
only	O
the	O
virtual	B-Architecture
machine	I-Architecture
needs	O
to	O
be	O
ported	O
to	O
new	O
platforms	O
in	O
order	O
to	O
execute	O
the	O
modules	O
.	O
</s>
<s>
lcc-win32	B-Language
is	O
an	O
integrated	B-Application
development	I-Application
environment	I-Application
package	O
for	O
Microsoft	B-Application
Windows	I-Application
which	O
includes	O
a	O
fork	B-Application
of	O
LCC	B-Language
.	O
</s>
<s>
An	O
amd64	B-Device
counterpart	O
named	O
lcc-win64	O
exists	O
,	O
which	O
has	O
been	O
available	O
since	O
April	O
15	O
,	O
2012	O
.	O
</s>
<s>
For	O
32-bit	B-Application
Windows	I-Application
machines	O
,	O
Lcc	B-Language
is	O
used	O
as	O
a	O
default	O
if	O
no	O
other	O
compiler	B-Language
is	O
installed	O
for	O
MathWorks	O
MATLAB	B-Language
and	O
related	O
products	O
.	O
</s>
<s>
LCC	B-Language
is	O
free	O
for	O
personal	O
use	O
and	O
may	O
be	O
redistributed	O
provided	O
all	O
distribution	O
media	O
and	O
product	O
documentation	O
acknowledges	O
it	O
.	O
</s>
<s>
The	O
LCC	B-Language
license	O
relies	O
on	O
examples	O
in	O
multiple	O
cases	O
.	O
</s>
<s>
LCC	B-Language
may	O
not	O
be	O
sold	O
for	O
profit	O
,	O
but	O
it	O
may	O
be	O
included	O
with	O
other	O
software	O
that	O
is	O
sold	O
for	O
profit	O
,	O
provided	O
LCC	B-Language
itself	O
is	O
distributed	O
for	O
free	O
.	O
</s>
<s>
Per	O
user	O
and	O
unlimited	O
use	O
licenses	O
are	O
available	O
by	O
contacting	O
Addison-Wesley	O
,	O
in	O
particular	O
for	O
compilers	B-Language
of	O
languages	O
such	O
as	O
C++	O
for	O
which	O
a	O
C	B-Language
compiler	B-Language
may	O
constitute	O
much	O
of	O
its	O
work	O
.	O
</s>
