This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with unstalled gcc
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2008 22:59:31 -0000
- Subject: [Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with unstalled gcc
- References: <bug-36443-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from mmitchel at gcc dot gnu dot org 2008-06-06 22:59 -------
We set GCC_EXEC_PREFIX when testing in-tree GCC because we want the GCC we're
testing to search the right paths.
Note that in creating site.exp, we do:
@echo "set GCC_EXEC_PREFIX \"$(libdir)/gcc/\"" >> ./tmp0
If I understand correctly, the issue in:
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01493.html
may be that DejaGNU wants to compile testglue, and therefore needs
GCC_EXEC_PREFIX set at that point, since testglue is of course built with the
compiler being tested.
Maybe HOSTCC should be "GCC_EXEC_PREFIX= gcc"?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36443