Timur Tabi <timur@xxxxxxxxxxxxx> writes: > I'm building gcc 4.3.3 on a PowerPC Mac OS X 10.5 system, target is > powerpc-linux. The build fails with this error. I don't understand > how, after compiling hundreds of files, it suddenly can't find > string.h and stdio.h. > > /Volumes/Goliath/Users/timur/dev/gcc-bin/./gcc/xgcc > -B/Volumes/Goliath/Users/timur/dev/gcc-bin/./gcc/ The failure is occurring when the newly built gcc is being used to compile gcc's support library. Building a cross-compiler to a GNU/Linux system is tricky. I recommend looking at the scripts found via http://crosstool.org/ . Ian