I built an ARM toolchain from Crosstool, and am trying to compile the Kernel from Emsoft. I am using:
gcc-3.4.2 with glibc-2.2.5
I don't know if these are correct (I susspect not).
At first, gcc said -mshort-load-bytes passed to it (from arch/arm/Makefile) was undefined - so I removed it.
Then gcc (in the assembler) said -mno-fpu was undefined, so I removed that too.
Now it fails assembing:
entry-armv.S: Assembler messages:
entry-armv.S:1060: Warning: destination register same as write-back base
entry-armv.S:1285: Error: undefined symbol TSS_FPESAVE used as an immediate value
entry-armv.S:1283: Error: internal_relocation (type: OFFSET_IMM) not fixed up
entry-armv.S:1336: Error: internal_relocation (type: OFFSET_IMM) not fixed up
entry-armv.S:1337: Error: internal_relocation (type: OFFSET_IMM) not fixed up
entry-armv.S:1608: Error: cannot represent SWI relocation in this object file format
Anybody know what's going on? I susspect my toolchain is wrong - or is there a different/better version of the Kernel I should be using?
What about the regular uCLinux distro - should I be using that? Is there built-in JB support (i.e. config menu option) for it?