[PLUG] ARM cross-compiling issues
ksinkar at gmail.com
Tue Feb 8 02:55:13 PST 2011
I have only used the Keil compiler for arm development before. Now I
am trying to use the arm-gcc.
I got this BlinkingLed program with my Olimex development board. I
have been trying to compile it with the arm-gcc cross compiler from
codesourcery as well as the one provided by redhat. The zip file which
contains the sources as well as the errors for
their respective compilations can be found here:-
I can't make head or tail of the error
messages thrown by the redhat cross-compiler. Please help me debug.
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
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
In file included from drivers/block/cciss.c:379:
drivers/block/cciss_scsi.c: In function ‘scsi_cmd_stack_setup’:
drivers/block/cciss_scsi.c:218: error: negative width in bit-field
drivers/block/cciss.c: In function ‘cciss_init’:
drivers/block/cciss.c:4947: error: negative width in bit-field ‘<anonymous>’
make: *** [drivers/block/cciss.o] Error 1
make: *** [drivers/block] Error 2
make: *** [drivers] Error 2
My Host Platform is Fedora 11 i386.
Are there no other precautions to be taken while cross compilation???
More information about the plug-mail