1] pls clear me difference bw the native and cross compiler. 2] why not native compiler output runs on board? 3] why not cross compiler output runs on same PC? 4] In which format output will be in native and in cross compiler?
The perfect answer for your assignment:
A cross compiler is unhappy coz you've got a lot of errors in yer code.
1) Different CPUs? Native: code compiles/runs on Host, Cross: compiles on Host, code runs on Target 2) Compiled for a different CPU 3) Compiled for a different CPU 4) Object/executable files come in many forms. General Rule: Machine code for one type of CPU, is not the same as machine code for a different family of CPU. ie x86 != 8051, and x86 != ARM
www.lmgtfy.com
Brightened my day
i heared of google i thought some intelligent people will make me understand in simply way but here waste
"here waste" - exactly the issue.