This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [C++] include directory configury


Benjamin Kosnik <bkoz@redhat.com> writes:

  >> if you moved the G++ installation to another path, the driver
  >> couldn't figure out the location of the target-dependent headers

  Benjamin> when is this ever done?

Do you mean, when do you move the installed compiler to another place?
For instance when you install it from a relocatable RPM.

  Benjamin> then perhaps both gcc_gxx_include_dir and
  Benjamin> gcc_gxx_target_include_dir should use the same variable
  Benjamin> for the common bits.

Unfortunately, the parallel ugly expression for gcc_gxx_include_dir is
generated by configure, if you don't specify --with-gxx-include-dir
(otherwise it uses whatever path you specify).  

Regards
Alex

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]