hi friends,
I have started reading on porting Linux on the ARM. I have a question. we can compile the simple project on the keil for ARM. can I compile the source code of linux(modified for that ARM) on keil???
thanks in advance.
By the way, Intel's compiler can build a linux kernel:
www.linuxjournal.com/.../linuxdna-supercharges-linux-intel-cc-compiler
As far as I understand, Intel implemented many GCC's features in order to make it possible. Of course, RealView developers never intended to do that.
ARM's C compiler already understands many GNUisms. I think the linker even supports gld-scripts to some degree. Translating the gas syntax is perhaps one of the remaining issues.
The question is whether being able to compile a Linux kernel with any compiler really makes a lot of sense. The numbers in the link you posted came without any context. Although I am not a Linux kernel expert, I am sure that most performance critical code paths have been implemented in architecture specific optimized ASM routines. The "40%" might have been achieved in a rarely used code path that nobody found worth optimizing.
Cheers, Marcus http://www.doulos.com/arm/