GCC Cross-Compiler: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(→‎Prebuilt Toolchains: Mention availability of i686-elf toolchain in homebrew)
Line 5:
== Introduction ==
 
Generally speaking, a cross-compiler is a compiler that runs on platform A (the '''host'''), but generates executables for platform B (the '''target'''). These two platforms may (but do not need to) differ in CPU, operating system, and/or [[:Category:Executable Formats|executable format]]. In our case, the host platform is your current operating system and the target platform is the operating system you are about to make. It is important to realize that these two platforms are not the same; yourthe operating system you are developing is always going to be different from your currentthe operating system you currently use. This is why we need to build a cross-compiler first, you will most certainly run into trouble otherwise.
 
=== Why cross-compilers are necessary ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu