CS450 Compiler Design
42
Tetris
PPC
C
Tetris
Cross compilation
x86
Example: A C “cross compiler” from x86 to PPC
C --> PPC
x86
A cross compiler is a compiler which runs on one machine (the host machine) but emits code for another machine (the target machine).
Host ≠ Target
Q: Are cross compilers useful? Why would/could we use them?
PPC
Tetris
PPC
download