Hi all,
Recently I added native toolchain (gcc4) to openwrt-ixp4xx and cs06q3armel optware feed. It consists of three ipk's: binutils, gcc, and libc-dev. With some small change to the optware mk files, now it can build certain versions of gcc3 as well.
Although I don't have a MBWE so I cannot test, it occurs to me that this can apply to gumstix1151 feed too. I know there is gcc binary toolchain already, but wouldn't it be nice that you can build & install your own with ipkg? And a more recent version as well! If this is working, you no longer need to recover the binary toolchain from the old firmware.
Here are the steps (assuming you're on linux with build-essential already installed):
$ cd $HOME (you can use whatever directory you want, of course)
$ svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware
$ cd $HOME/optware
$ make gumstix1151-target && cd gumstix1151
$ make directories ipkg-utils toolchain (toolchain build will take a while)
$ make binutils-ipk
$ make gcc-ipk NATIVE_GCC_VERSION=3.4.6
$ make libc-dev-ipk
The file copying of the last two steps still need some work. They's basically copying files from cross toolchain to ipk. The build result will be under optware/gumstix1151/builds/.
Some one wanna try? If someone get this to work, I can add those to ipkg feed. I'm often available on #nslu2-linux (nick eno) if you have question on the last two steps.
-Brian
bzhou at nslu2 dash linux dot org

























