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

m
Add link to Host Triplet article
[unchecked revision][unchecked revision]
m (Fixed typing error.)
m (Add link to Host Triplet article)
Line 1:
You need to use a [[GCC_Cross-Compiler|cross-compiler]] ''unless'' you are developing on your own operating system. The compiler ''must'' know the correct [[Host Triplet|target platform]] (CPU, operating system), otherwise you will run into trouble. You may be able to use the compiler that comes with your system if you pass a number of options to beat it into submission, but this will create a lot of completely imaginary problems.
 
It is possible ask your compiler what target platform it is currently using by calling the command:
Anonymous user