This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Running Different Compiler with gcc testsuite
- From: kevin diggs <diggskevin38 at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Roger Rice <ricer7 at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 19 Apr 2011 19:31:42 -0500
- Subject: Re: Running Different Compiler with gcc testsuite
- References: <426479.29699.qm@web34204.mail.mud.yahoo.com> <mcrmxjlaiak.fsf@google.com>
Hi,
On a related note, if I build a 68k target 68k hosted compiler on an
x86 machine is there a way to run the test suite on it? If this is
clearly documented and I just missed it a pointer would be
appreciated.
Thanks!
kevin
On Tue, Apr 19, 2011 at 7:16 PM, Ian Lance Taylor <iant@google.com> wrote:
> Roger Rice <ricer7@yahoo.com> writes:
>
>> ?? I've been trying to run the testsuite against a non-gcc C compiler. I've
>> tried setting various environment variables and modifying the Makefile(s), but
>> no matter what I do, xgcc is invoked. What are the steps to using the testsuite
>> with other C/C++ Linux based compilers?
>
> I think you can set GCC_UNDER_TEST in the site.exp file which the
> testsuite will generate in your working directory. ?But I've never tried
> it, and I would not be very surprised if it does not work. ?The
> testsuite was never designed to test anything other than gcc.
>
> Ian
>