maZZoo maZZoo's blog
very low frequency tech postings  -   05 2004
    home
    blog
    feed
    eyes
    info

    code [12]
    dect [4]
    hard [8]
    meta [5]
    security [5]

jul 2009 (1)
jun 2009 (1)
jan 2009 (2)
dec 2008 (1)
oct 2008 (1)
jan 2008 (1)
oct 2007 (1)
jun 2007 (1)
feb 2007 (3)
jan 2007 (3)
nov 2006 (2)
aug 2006 (2)
jul 2006 (1)
may 2006 (1)
nov 2005 (2)
oct 2005 (1)
apr 2005 (2)
mar 2005 (2)
feb 2005 (1)
jan 2005 (1)
may 2004 (1)
jan 2004 (1)
apr 2003 (1)
jan 2003 (1)

Sat, 29 May 2004

crossgcc - ARM patch

Building 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


posted in /code  |  link  |  comments [1]   


validate HTML