|
maZZoo's blog very low frequency tech postings - code/crossgcc_ARM_patch.writeback |
||
home blog feed eyes info code [12] dect [4] hard [8] meta [5] security [5] |
Sat, 29 May 2004crossgcc - ARM patchBuilding crosscompilers was a pain in the ass. Up to gentoo's crossdev.sh script. Here's a patch for crossdev.sh for StrongARM CPUs - it should do for other ARMs either, just change the -mcpu and -mtune flags. It patches a tiny bug in glibc-2.3.2 and adds ARM support into crossdev.sh. Actually the patch does one more thing: the original script copies (!) all source trees from /var/tmp/portage/[binutils|gcc|glibc|linux-headers] to /var/tmp/portage/crossdevbuild. The cp ist replaced by a mv (probably not the gentoo way, but saves me space on the HDD during build time). The files are licensed under GPL v2. o patch against crossdev 0.4-r1 o the standalone patched crossdev.sh-arm-move writebacks... comment... |
||