Am 23.11.2009 11:40, schrieb F. Fennek:
Hello all, I am trying to build a cross compiler for a cortex M3 ARM target on a Linux host. And I have a rather basic question. If I google on ARM toolchain I find a lot of help BUT most toolchain builders are scripts and most of them use patches of some sort. The scripts (or work flow) are mostly explained rather good but where the used patches come from are never explained. So my question is: Do I need patches to build an ARM cross compiler when I use the GCC source code? Thanks a lot. Regards, Robert
Please have a look at this thread: http://gcc.gnu.org/ml/gcc-help/2009-11/msg00187.html
It somewhere describes how to build the latest gcc for bare metal arm (without c library). You don't need any patches as is, however if you plan to support a variety of ARM processors you want to patch gcc to get a proper multilib compiler.
Best regards