Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: Michael Snyder <msnyder@redhat.com>
Cc: gdb@sources.redhat.com, Richard.Earnshaw@arm.com
Subject: Re: Changing the C/C++ compiler for gdb testsuite runs
Date: Fri, 11 Jan 2002 02:23:00 -0000	[thread overview]
Message-ID: <200201111023.KAA26358@cam-mail2.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Thu, 10 Jan 2002 17:21:53 PST." <3C3E3E31.9B561351@redhat.com>

> > Is there a way of forcing the GDB testsuite to use a particular compiler
> > that hasn't yet been installed (I have a gcc-3 compiler from a build tree
> > that I'd like to use to run the tests, but I don't particularly want to
> > have to install it first).  I've tried running
> > 
> >         make check
> > 
> > with both CC_FOR_TARGET and CC set to point to the compiler, but neither
> > seems to work.  There doesn't appear to be anything on this in the gdb
> > internals manual either.
> 
> If you build both gcc and gdb in the same build tree, 
> the tests will use the gcc from the build tree.

But since they don't come from the same CVS tree, I can't see how to do 
that cleanly without dicking around with the common code directories such 
as libiberty and include -- experience has shown that with the public CVS 
repositories that is fraught with problems.  I have done it in the past, 
but it breaks the principal that the sources you are testing are the 
sources you are committing, so it isn't really a viable option.

R.


  reply	other threads:[~2002-01-11 10:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-10  5:46 Richard Earnshaw
2002-01-10 17:30 ` Michael Snyder
2002-01-11  2:23   ` Richard Earnshaw [this message]
2002-01-11  7:26     ` Andrew Cagney
2002-01-11  7:38       ` Richard Earnshaw
2002-01-11  7:45         ` Andrew Cagney
2002-01-10  8:58 Michael Elizabeth Chastain
2002-01-10 11:10 ` Kevin Buettner
2002-01-10 11:30   ` Daniel Jacobowitz
2002-01-15 10:24     ` Daniel Jacobowitz
2002-01-15 11:18       ` Andrew Cagney
2002-01-11  8:07 Michael Elizabeth Chastain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200201111023.KAA26358@cam-mail2.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gdb@sources.redhat.com \
    --cc=msnyder@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox