tags:

views:

190

answers:

2

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

+3  A: 

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.

LiraNuna
+1  A: 

You might want to look at BuildRoot for building a toolchain to target Arm and other processors.

themis