Added a few comments here and there
[linux_from_scratch.git] / FAQ-OBSOLETE / cross-compile.xml
blob2a65f6ef6ebf973a0462ce7b2e8987e9922af782
1 <qandaentry id="cross-compile">
2 <question><para>How do I cross compile LFS?</para></question>
3 <answer><para>It's often useful to compile LFS for one machine
4 on another machine.
5 Say using that fast 1Ghz Athlon to build an install for an old 486.
6 While this is technically not cross compiling,
7 binaries compiled for the Athlon cannot be run on the 486
8 because binaries compiled for the newer processor
9 use features the older processor doesn't have.
10 To make the newer system compile for the older, follow the hint at
11 <ulink url="http://hints.linuxfromscratch.org/hints/crosscompiling-x86.txt"/>.
12 </para></answer>
13 </qandaentry>