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

+Notice that this is specific to GCC
[unchecked revision][unchecked revision]
(Fixed more mistaken uses of the word "imaginary", this time replaced with "unnecessary")
(+Notice that this is specific to GCC)
Line 1:
::''Notice: ''This page is specific to GCC. If you use another compiler, you should research how cross-compilation is normally done with that compiler and do it that way. GCC is quite tightly bound to its native target system, many other compilers are not. Some compilers don't even have a native target, they are always cross-compilers.
 
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 unnecessary problems.
 
Anonymous user