Commit ee40befe by Richard Stallman

(include_defaults): Do use GCC_INCLUDE_DIR for cross compiler.

Move TOOL_INCLUDE_DIR later if cross.

From-SVN: r3269
parent 428e0ca8
...@@ -540,12 +540,21 @@ static struct default_include { char *fname; int cplusplus; } include_defaults_a ...@@ -540,12 +540,21 @@ static struct default_include { char *fname; int cplusplus; } include_defaults_a
= { = {
/* Pick up GNU C++ specific include files. */ /* Pick up GNU C++ specific include files. */
{ GPLUSPLUS_INCLUDE_DIR, 1}, { GPLUSPLUS_INCLUDE_DIR, 1},
{ TOOL_INCLUDE_DIR, 0},
#ifdef CROSS_COMPILE #ifdef CROSS_COMPILE
/* This is the dir for fixincludes. Put it just before
the files that we fix. */
{ GCC_INCLUDE_DIR, 0},
/* For cross-compilation, this dir name is generated /* For cross-compilation, this dir name is generated
automatically in Makefile.in. */ automatically in Makefile.in. */
{ CROSS_INCLUDE_DIR, 0 }, { CROSS_INCLUDE_DIR, 0 },
/* This is another place that the target system's headers might be. */
{ TOOL_INCLUDE_DIR, 0},
#else /* not CROSS_COMPILE */ #else /* not CROSS_COMPILE */
/* Until we are really clear on what people will use this dir for
in a native compiler, it's not clear where in the order it belongs. */
{ TOOL_INCLUDE_DIR, 0},
/* This should be /use/local/include and should come before
the fixincludes-fixed header files. */
{ LOCAL_INCLUDE_DIR, 0}, { LOCAL_INCLUDE_DIR, 0},
/* This is the dir for fixincludes. Put it just before /* This is the dir for fixincludes. Put it just before
the files that we fix. */ the files that we fix. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment