I have an embedded system on a portable ARM device, and it runs a customized Linux. How can I build a native compiler for that Linux distro?
For example, I am now using machine A, and on A, I have both native compiler, and a cross-compiler for machine B. How can I build a compiler that can run directly on B?
I searched a bit, but only to find some tutorials of how to build cross compiler for B, but did not find how to build a native compiler through a cross compiler.