On May 28, 2013, at 11:25 AM, Martin Ward wrote:
echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR
"/tools/include/"\n\n' >> gcc/config/linux.h
in both cross and temp builds as its not needed covered by the
switch --with-native-system-header-dir=/tools
I removed STANDARD_INCLUDE_DIR and CROSS_SYSTEM_HEADERS commands and
gcc-static search list is:
#include "..." search starts here:
#include <...> search starts here:
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/4.8.0/
include
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/4.8.0/
include-fixed
/mnt/clfs/tools/include
cross gcc final search list is:
#include "..." search starts here:
#include <...> search starts here:
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/4.8.0/
include
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/4.8.0/
include-fixed
/mnt/clfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-gnu/
4.8.0/../../../../powerpc-unknown-linux-gnu/include
/mnt/clfs/tools/include
temp system gcc search list is (can't execute target binary so I
looked in /tools/lib/gcc/powerpc-unknown-linux-gnu/4.8.0/cc1):
/tools/lib/gcc/powerpc-unknown-linux-gnu/4.8.0/include
/tools/include
/tools/lib/gcc/powerpc-unknown-linux-gnu/4.8.0/include-fixed
/tools/lib/gcc/powerpc-unknown-linux-gnu/4.8.0/../../../../powerpc-
unknown-linux-gnu/include
Sincerely,
William Harrington
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org