Patch for -frepo with relocated toolchains

Mark Mitchell mark@codesourcery.com
Fri Apr 28 06:30:00 GMT 2006


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



More information about the Gcc-patches mailing list