Well, I meant bogus in that gcc is looking for 'as' in
'/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/as' rather than just '/tools/i686-pc-linux-gnu/bin/as'
'as' is where it's supposed to be, under '/tools/i686-pc-linux-gnu/bin/as'.
Ah, I just tried the 'dummy.c' test, and gcc returned the same error. So it's gcc that's messed up somehow. I don't see that huge path anywhere in 'gcc -dumpspecs', though.
I'll have to look at "Adjusting the toolchain'