------- Comment #14 from carlos at codesourcery dot com 2006-10-05 08:33 ------- GCC_EXEC_PREFIX does not control the search directories for header files. Could you verify that your target actually compiles before applying the patches?
Both gcc and cpp need to be taught taught not to search the configured prefix. The patch I provided only the first step. The second step is to improve cpp. I will post a new set of patches for this on the weekend. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17621