This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] include directory configury
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: [C++] include directory configury
- From: Alex Samuel <samuel at codesourcery dot com>
- Date: Sat, 3 Feb 2001 01:09:06 -0800 (PST)
- Cc: samuel at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200102030842.f138g8b24778@fillmore.constant.com>
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