RFC: Permit relative path for --with-gxx-include-dir

Daniel Jacobowitz drow@false.org
Wed Mar 7 03:47:00 GMT 2007


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



More information about the Gcc-patches mailing list