* Running Different Compiler with gcc testsuite
@ 2011-04-19 21:42 Roger Rice
2011-04-20 0:29 ` Ian Lance Taylor
0 siblings, 1 reply; 4+ messages in thread
From: Roger Rice @ 2011-04-19 21:42 UTC (permalink / raw)
To: gcc-help
Hello,
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running Different Compiler with gcc testsuite
2011-04-19 21:42 Running Different Compiler with gcc testsuite Roger Rice
@ 2011-04-20 0:29 ` Ian Lance Taylor
2011-04-20 0:38 ` kevin diggs
0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2011-04-20 0:29 UTC (permalink / raw)
To: Roger Rice; +Cc: gcc-help
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running Different Compiler with gcc testsuite
2011-04-20 0:29 ` Ian Lance Taylor
@ 2011-04-20 0:38 ` kevin diggs
2011-04-20 0:58 ` Ian Lance Taylor
0 siblings, 1 reply; 4+ messages in thread
From: kevin diggs @ 2011-04-20 0:38 UTC (permalink / raw)
To: Ian Lance Taylor; +Cc: Roger Rice, gcc-help
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running Different Compiler with gcc testsuite
2011-04-20 0:38 ` kevin diggs
@ 2011-04-20 0:58 ` Ian Lance Taylor
0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 2011-04-20 0:58 UTC (permalink / raw)
To: kevin diggs; +Cc: Roger Rice, gcc-help
kevin diggs <diggskevin38@gmail.com> writes:
> 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.
It's possible to run the testsuite, yes, assuming you have a 68k
hardware or simulator. It is not clearly documented. I don't know if
it is documented at all.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-20 0:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 21:42 Running Different Compiler with gcc testsuite Roger Rice
2011-04-20 0:29 ` Ian Lance Taylor
2011-04-20 0:38 ` kevin diggs
2011-04-20 0:58 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).