Problem with crosscompiling the kernel

Kai Timmer email at kait.de
Thu Apr 23 14:25:45 CEST 2009


Hello,
I followed this instructions:
http://wiki.openmoko.org/wiki/Howto_compile_Openmoko_kernel_for_Neo_Freerunner

but when I call:

$: ARCH=arm /home/kai/bin/build-kernel.sh

in the kernel source dir. I get this errors:
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
scripts/mod/empty.c:1: error: bad value (armv4) for -march= switch
scripts/mod/empty.c:1: error: bad value (arm9tdmi) for -mtune= switch

I think that the build process isn't using the crosscompile toolchain,
but my path includes it:

$: echo $PATH
/usr/local/openmoko/arm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin

Is there anything else I have to set?

Greets,
-- 
Kai Timmer
Email : email at kait.de
Jabber: kai at kait.de



More information about the devel mailing list