This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, testsuite] set GCC_EXEC_PREFIX *before* building testglue.c
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Aug 2009 11:18:00 -0700
- Subject: Re: [patch, testsuite] set GCC_EXEC_PREFIX *before* building testglue.c
- References: <200908141857.n7EIvSOF006185@greed.delorie.com>
- Reply-to: janis187 at us dot ibm dot com
On Fri, 2009-08-14 at 14:57 -0400, DJ Delorie wrote:
> I suspect this may be obvious, but that doesn't mean there aren't
> hidden side-effects. When you test in-tree with a cross target
> requiring a status wrapper, the status wrapper can't be built because
> GCC_EXEC_PREFIX hasn't been set yet. This sets it if needed. Ok to
> apply?
>
> * lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up
> GCC_EXEC_PREFIX before building the wrapper.
OK.
Janis