First off, if this is not the most appropriate place for this discussion please direct me elsewhere.
I created a user called avr32 and I'm trying to build and install a working toolchain under that users home directory. The reasons are:
1 )Get a good working understanding about building the tools from first principles.
2) Can delete and reinstall a completely new set of tools without having to dig through the /usr directory tree.
3) I don't feel I have as much control over buildroot as I would have configuring and installing the tools myself.
I've made it through Binutils, GCC bootstrap, Kernel headers, uClibc, U-Boot and Linux but get errors when building the full version of GCC. I got stuck when GCC could not find some header files but created a symbolic link to where the compiler was looking (~/tools/avr32-linux/include/sys-include) for headers. The problem I now have is the following error message:
checking for sin in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1
Can anyone direct me to a HowTo on installing a local toolchain that uses uClibc, I can't imagine I'm the first person to try this with so many embedded Linux systems out there.
I'm quite prepared to post or create a wiki entry when done for future users.