Can a toolchain for any Arm processor be used to compile any Operating system?? What is the dependency of toolchain on OS??
My doubt may sound childish...I have no idea about toolchains for ARm
Can a toolchain for any Arm processor be used to compile any Operating system?? What is the dependency of toolchain on OS??
My doubt may sound childish...I have no idea about toolchains for ARm
Can a toolchain for any Arm processor be used to compile any Operating system?
It depends on the target OS. If it has support for the ARM architecture (such as Linux) then only configuration and patches are missing, but generally yes.
What is the dependency of toolchain on OS?
I'm only experienced in GCC, so I'd say binutils, glibc+kernel headers and then GCC. If you want threads, you'd need pthreads too.
See this article on how to bootstrap Linux on ARM. While it's rather old, the same process applies, with appropriate patches.