This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compilation of Linux source code (for ARM) on keil

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.

Parents Reply Children
  • 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/