Anonymous user
GCC Canadian Cross: Difference between revisions
m
tt->code&addstub
[unchecked revision] | [unchecked revision] |
m (Canadian Cross moved to GCC Canadian Cross: Looks better on the category page, and *is* GCC-specific.) |
m (tt->code&addstub) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Stub}}
A Canadian Cross is to first build a cross-compiler for system Y (the host) on system X (the build-system). You would then use that cross-compiler, setting <
▲A Canadian Cross is to first build a cross-compiler for system Y (the host) on system X (the build-system). You would then use that cross-compiler, setting <tt>--build=<where this compiler runs> --host=<where the compiler you're building shall run> --target=<where the executables the compiler you're building will build shall run></tt>. This explanation alone should be sufficient to show why this is both non-trivial and error-prone.
==="Minor" Canadian Cross===
Building a cross-compiler takes some time, so you might want to use a faster machine (like, a PIV) to build a cross-compiler for a lesser machine (like, a Pentium laptop). You don't really need the initial cross-compiler for this, as the system compiler on the build machine (PIV) can generate binaries for the host machine (Pentium) alright.
[[Category:Compilers]]
|