This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for -frepo with relocated toolchains
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 Apr 2006 23:30:10 -0700
- Subject: Re: Patch for -frepo with relocated toolchains
- References: <Pine.LNX.4.64.0604260136200.32701@digraph.polyomino.org.uk>
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