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]
Other format: [Raw text]

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


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


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