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: Patch for -frepo with relocated toolchains


Joseph S. Myers wrote:

> 2006-04-26  Joseph S. Myers  <joseph@codesourcery.com>
> 
> 	* gcc.c (process_command): Add program name to GCC_EXEC_PREFIX
> 	value before passing to make_relative_prefix.

This is OK, provided that it will work if GCC_EXEC_PREFIX is something
like $prefix/lib/gcc-lib -- without the trailing slash.  Since
make_relative_prefix requires a program name, this ought to work OK;
make_relative_prefix must be ignoring the final path component, but
please do double-check that before committing.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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