Why do I need a Cross Compiler?: Difference between revisions

m
no edit summary
[unchecked revision][unchecked revision]
m (Added source tags)
mNo edit summary
Line 146:
*gcc -v* from my Ubuntu machine gives:
 
<ttpre>
gravaera@gravaera-laptop:/void/cygwin/osdev/zbz$ gcc -v
Using built-in specs.
Line 159:
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
</ttpre>
 
The person who built the compiler that runs on my machine built it on a machine just like mine, an 'i486-linux-gnu' (build), and intended for it to run on a machine like his/mine: the same i486-linux-gnu (host), and he meant for this compiler he was building for me, to emit executables that targeted my very machine, so that when I compile programs, they will be able to run on a host that is i486-linux-gnu. Therefore he made the compiler target i486-linux-gnu.
Anonymous user