[PLUG] ARM cross-compiling issues

Abhijit Bhopatkar bain at devslashzero.com
Wed Feb 16 22:48:04 IST 2011


Namaskar:
> I have only used the Keil compiler for arm development before. Now I
> am trying to use the arm-gcc.
>
> https://docs.google.com/leaf?id=0B36jlLaq9jMFMzMwMWQ5YTctZTk0YS00ZDdmLTgzMGYtYmY0ZjJiYWNkZWE3&hl=en_GB&authkey=CMvi2JgJ
>
> I can't make head or tail of the error
> messages thrown by the redhat cross-compiler. Please help me debug.
>
Well i can't really make educated comments about this error so  i won't 
:( sorry

But there is one suggestion in codesourcery toolchain errors

The missing symbols should be defined in -lgcc so just try adding the falg.

> Also I want to cross compile the Linux Kernel for ARM. I downloaded
> the source from kernel.org (2.6.36).
>
> i did the following changes
> ARCH?=arm
> CROSS_COMPILE   ?= armv5tel-redhat-linux-gnueabi-
>
> I got this error while compiling the kernel for ARM after running make
> with only these modifications in the Makefile
>
You should try getting your arm kernels from arm.linux.co.uk instead.

Also if you are going to try to run the blink led from linux the above 
code won't work at all.

Abhijit




More information about the Plug-mail mailing list