the fixed include changes (which i believe started with gcc-4.3, so this patch
would be nice to have in the gcc-4.3 branch as well) broke canadian cross-
compiles for *-elf targets. the patch below fixes it the same way other C
libraries (like glibc) have been fixed ... that is, an explicit -isystem path
is added for the include-fixed/ subdir after the include/ subdir.
i believe this is the same issue Ãyvind Harboe reported here:
http://gcc.gnu.org/ml/gcc-help/2008-09/msg00100.html
tested this patch with gcc-4.3.2 and the bfin-elf target when building a
toolchian to run under Windows:
build=x86_64-linux host=mingw32 target=bfin-elf