Saturday, February 18, 2006

GCC Tool Chains for ARM processor

Cross Compiler for ARM processer: provides a realview IDE software for the ARM processer. But its costly for a normal person to buy. It also provides a 30 day trial version CD. But there is also a free cross compiler for ARM processor, as GCC toolchains for ARM-ELF. It can be obtained from All the tools can be downloaded separately and compiled following the instructions from any site. I followed the steps from will surely answer any of the compilation and building problems. I could compile it very easily. But i had problems when i tried to compile a C file with the arm-elf-gcc. It gave me lots of errors while linking the object files. I was sitting with that for a day or so.
Error Message:
elf/3.4.0/../../../../arm-none-elf/bin/ld: ERROR: /usr/local/arm/3.4-
elf/lib/libc.a(atexit.o) uses FPA instructions, whereas a.out does not

Just compile gcc with --with-fpu=fpa option to correct it :)

No comments: