This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Permit relative path for --with-gxx-include-dir
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 6 Mar 2007 21:32:50 -0500
- Subject: Re: RFC: Permit relative path for --with-gxx-include-dir
- References: <200703070151.l271pa2p003741@sparrowhawk.codesourcery.com>
On Tue, Mar 06, 2007 at 05:51:36PM -0800, Mark Mitchell wrote:
>
> The --with-gxx-include-dir option to configure permits users to
> specify the location in which the libstdc++ header files will be
> installed, and, therefore, the directory that the compiler will
> search. At present, this must be an absolute path.
>
> This patch makes it possible to specify a relative path, instead of an
> absolute path. If a relative path is provided, the path is relative
> to $prefix. I haven't yet fully tested this patch on mainline (though
> I have tested it on 4.1 and 4.2). I plan to do that testing, and
> check in the patch, but I wanted to give a chance for people to
> comment. Any objections? (I won't check this in for at least 24
> hours, to give people a chance to comment.)
I thought the usual practice was to specify --with-foo='${prefix}'/bar
directly. At least, I know I've done that before.
--
Daniel Jacobowitz
CodeSourcery