OSDN Git Service

gcc/
authorcarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Nov 2006 17:15:27 +0000 (17:15 +0000)
committercarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Nov 2006 17:15:27 +0000 (17:15 +0000)
commite9ed62b675eba4cf4adbb99eada85016efd9d8a9
tree97ba2bb27388441e1c8a03a879e691c010485917
parent88eef51c4795352e157731459fcf2256d920b02e
gcc/

2006-11-20  Carlos O'Donell  <carlos@codesourcery.com>
    Mark Mitchell  <mark@codesourcery.com>

* cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and
gcc_exec_prefix.
(cpp_relocated): New function.
* cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix
and cpp_relocated.
* Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
* c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
replace configured prefix with gcc_exec_prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119017 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/c-incpath.c
gcc/cppdefault.c
gcc/cppdefault.h