This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google/integration] Add a configure option to disable system header canonicalizations (issue6489063)
- From: Ollie Wild <aaw at google dot com>
- To: Simon Baldwin <simonb at google dot com>
- Cc: reply at codereview dot appspotmail dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 31 Aug 2012 09:31:24 -0500
- Subject: Re: [google/integration] Add a configure option to disable system header canonicalizations (issue6489063)
- References: <20120831122044.49785A0E72@xoom.chi.corp.google.com>
On Fri, Aug 31, 2012 at 7:20 AM, Simon Baldwin <simonb@google.com> wrote:
> Add a configure option to disable system header canonicalizations.
>
> Libcpp may canonicalize system header paths with lrealpath() for diagnostics,
> dependency output, and similar. If gcc is held in a symlink farm the
> canonicalized paths may be meaningless to users, and will also conflict with
> build frameworks that (for example) disallow absolute paths to header files.
>
> Tested with bootstrap builds of C and C++, both with and without configure
> --disable-canonical-system-headers. Okay for google/integration?
Seems like a reasonable candidate for trunk, and I'd rather have fewer
patches in google/integration than more. Can you send a copy of this
patch for inclusion there? Let's at least see what people say.
Ollie