I have an important distinction to make clear... Cross Compiling is using a machine with a different processor type than the target machine for your program.
So, you have a PC with an Intel Core 2 Duo in it, and you use a compiler to output an ARM executable, that is cross compiling.
If you're on an Intel Core Duo toting 15" MacBook pro (from 2006) and you use that to produce the same ARM executable, that's still cross-compiling. BUT if you use that MacBook to generate a windows executable it's not cross compiling, as the processor is the same in both targets, you're not crossing over...
Some folks argue this differently, because you're crossing between the Windows and Apple OS's you're cross-compiling. In my book, and by the definition given elsewhere, you're not, in this case you are cross-platform (the platform being the OS) but you're not cross compiling because the processors are the same family.
That's all, I just wanted this out there, argue as you all see fit.
No comments:
Post a Comment