This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running Different Compiler with gcc testsuite


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]