Hello,
I've got problems cross-compiling the kernel myself (2.2.18, not 2.4).
I have successfully installed GCC and binutils, but I always get this
assembler error:
arm-linux-gcc -D__KERNEL__ -I/home/richard/arm/build/tmp/linux/include -D__ASSEMBLY__
-mno-fpu -mapcs-32 -marmv3m -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:473: Error: only flag field of psr can be set with immediate value
entry-armv.S:515: Error: only flag field of psr can be set with immediate value
[snip more of these]
make[1]: *** [entry-armv.o] Error 1
make[1]: Leaving directory `/usr/home/richard/arm/build/tmp/linux/arch/arm/kernel'
make: *** [_dir_arch/arm/kernel] Error 2
Line 473 reads:
msr cpsr_c, #I_BIT | MODE_SVC
My binutils version is 2.10.1 (do I need a patch for that, or a newer
version?). I have configured for RiscPC, ARM710+SA110 support, and I
use the command 'make ARCH=arm CROSS_COMPILE=arm-linux- zImage'.
Richard
--
__ _
|_) /| Richard Atterer | CS student at the Technische | GPG key:
| \/¯| http://atterer.net | Universität München, Germany | 888354F7
¯ ´` ¯
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.