Thursday, July 9, 2009

Patch

 $ cd package-version
$ patch -p1 < $patchdir/package-version-avr32.patch

$ mkdir build-avr32-linux-gcc
$ cd build-avr32-linux-gcc
$ ../gcc-4.0.2-avr32/configure --target=avr32-linux --enable-languages=c --disable-threads --disable-libmudflap
$ make
$ sudo make install

configuration Error uClibc: GCC cannot build

http://lists.busybox.net/pipermail/buildroot/2009-May/027545.html

BR2_ARM_EABI=y
BR2_GNU_TARGET_SUFFIX="linux-uclibc"

Which doesn't make sense. The correct target suffix for eabi is
"linux-uclibcgnueabi". With that change the toolchain builds.