QUOTE(nhorlock @ May 8 2005, 08:39 PM)
I've moved on to the next problem now (still in gcc) it is failing to build libiberty due to an undefined function __builtin_expect which is supposedly a gcc builtin for branch prediction hinting.
Thanks to help from #oe (PB__ in particular for his suggestion) I've found that this one was because I was using a shell that had previously been used to build an old Sharp/Opie and thus was finding an old gcc from the embeddix toolchain.
So a tip for you all. Start with a clean shell and check your gcc before you start. I wasted a lot of time trying to figure out what was wrong.