Bootstrap and Cross Compiler
Bootstrap and Cross Compiler
y Machine language
{ compiler to execute immediately;
1
T-Diagram Describing Complex Situation
3
A B B C A C
H H H
{ Second from B to C
{ Result from A to C on H
2
The Second T-diagram Combination
5
A B A B
H H K K
M
A H A H
B B H H
H
3
The Second Scenario
7
A H A H
B B K K
K
Process of Bootstrapping
8
4
The First step in bootstrap
9
A H A H
A A H H
H
A H A H
A A H H
H
5
The step 1 in porting
11
A K A K
A A H H
H
y Original compiler
y Compiler source code retargeted to K
y Result in Cross Compiler
A K A K
A A K K
H
y Cross compiler
y Compiler source code retargeted to K
y Result in Retargeted Compiler