<s>
Scratchbox	O
2	O
(	O
often	O
abbreviated	O
to	O
"	O
sb2	O
"	O
or	O
"	O
sbox2	O
"	O
)	O
is	O
a	O
cross-compilation	B-Application
toolkit	O
designed	O
to	O
make	O
embedded	O
Linux	B-Application
application	O
development	O
easier	O
.	O
</s>
<s>
It	O
also	O
provides	O
a	O
full	O
set	O
of	O
tools	O
to	O
integrate	O
and	O
cross-compile	B-Application
an	O
entire	O
Linux	B-Application
distribution	I-Application
.	O
</s>
<s>
In	O
the	O
Linux	B-Application
world	O
,	O
when	O
building	O
software	O
,	O
many	O
parameters	O
are	O
auto-detected	O
on	O
the	O
host	O
system	O
(	O
like	O
installed	O
libraries	O
and	O
system	O
configuration	O
)	O
,	O
for	O
example	O
through	O
Autotools	B-Application
 '	O
./configure	O
scripts	O
.	O
</s>
<s>
When	O
one	O
wants	O
to	O
build	O
software	O
for	O
an	O
embedded	B-Architecture
target	I-Architecture
by	O
cross-compilation	B-Application
,	O
most	O
auto-detected	O
parameters	O
are	O
incorrect	O
:	O
I.e.	O
,	O
host	O
configuration	O
is	O
not	O
the	O
same	O
as	O
the	O
embedded	B-Architecture
target	I-Architecture
's	O
configuration	O
.	O
</s>
<s>
Without	O
Scratchbox2	B-Application
,	O
one	O
has	O
to	O
manually	O
set	O
many	O
parameters	O
and	O
"	O
hack	O
"	O
the	O
"	O
configure	B-Device
"	O
process	O
to	O
be	O
able	O
to	O
generate	O
code	O
for	O
the	O
embedded	B-Architecture
target	I-Architecture
.	O
</s>
<s>
Scratchbox2	B-Application
allows	O
one	O
to	O
set	O
up	O
a	O
"	B-General_Concept
virtual	I-General_Concept
"	I-General_Concept
environment	O
that	O
will	O
trick	O
the	O
Autotools	B-Application
and	O
executables	O
into	O
thinking	O
that	O
they	O
are	O
directly	O
running	O
on	O
the	O
embedded	B-Architecture
target	I-Architecture
with	O
its	O
configuration	O
.	O
</s>
<s>
Moreover	O
,	O
Scratchbox2	B-Application
provides	O
a	O
technology	O
called	O
CPU-transparency	O
that	O
goes	O
further	O
:	O
With	O
CPU-transparency	O
,	O
executables	O
built	O
for	O
the	O
host	O
CPU	O
or	O
for	O
the	O
target	O
CPU	O
could	O
be	O
executed	O
directly	O
on	O
the	O
host	O
with	O
sb2	O
handling	O
the	O
task	O
to	O
emulate	O
a	O
different	O
CPU-architecture	B-General_Concept
if	O
necessary	O
to	O
run	O
software	O
components	O
compiled	O
for	O
the	O
target	O
CPU	O
.	O
</s>
<s>
Hence	O
a	O
build	B-Application
process	I-Application
can	O
mix	O
using	O
programs	O
built	O
for	O
different	O
CPU-architectures	O
.	O
</s>
<s>
That	O
is	O
especially	O
useful	O
when	O
a	O
build	B-Application
process	I-Application
requires	O
building	O
a	O
software	O
component	O
X	O
first	O
as	O
a	O
build	B-Library
dependency	I-Library
for	O
building	O
software	O
component	O
Y	O
:	O
For	O
example	O
,	O
a	O
"	B-Application
Lexer	I-Application
"	I-Application
has	O
to	O
by	O
built	O
first	O
in	O
order	O
to	O
generate	O
code	O
for	O
/	O
of	O
another	O
software	O
component	O
.	O
</s>
