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

m
typo to=>the
[unchecked revision][unchecked revision]
(+Notice that this is specific to GCC)
m (typo to=>the)
Line 122:
=== What are the basics of cross compiling? ===
 
The "build" machine is the machine you're compiling the software on. This software being compiled may be compiled to run on some other type of machine. See, you may be building on an x86-based machine, and wishing for the software to run on a SPARC based machine. The build machine is implicit and will usually be auto-detected by the configure script for the software. Its only real purpose is so that, if the software being compiled chooses to keep the configure arguments used to configure it somewhere in the built package, the people to whom the package is distributed will know what machine the package was built on. The name of the build machine may be used to configure tothe package to use workarounds as well if the build machine is universally known to have certain problems building that software.
 
The "host" machine is the machine on which the software must run. So in the previous example, the "build" machine is an i686-elf-yourBuildOs machine, and the host is a sparc32-elf-unix4 machine.
Anonymous user