Anonymous user
Why do I need a Cross Compiler?: Difference between revisions
Fixed more mistaken uses of the word "imaginary", this time replaced with "unnecessary"
[unchecked revision] | [unchecked revision] |
(→Problems that occur without a Cross-Compiler: Wording: problem which is hard to overcome != imaginary problem) |
(Fixed more mistaken uses of the word "imaginary", this time replaced with "unnecessary") |
||
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 [[Target 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
It is possible ask your compiler what target platform it is currently using by calling the command:
Line 12:
{{Main|GCC Cross Compiler}}
It is easy and takes a few moments to [[GCC_Cross-Compiler|build a cross-compiler]] that targets your operating system. It may take a while to build it on slower computers, but you only need to do it once, and you save all the time you would otherwise spend on "fixing" the completely
== Transitioning to a Cross-Compiler ==
|