From: Michael Elizabeth Chastain <mec@shout.net>
To: Richard.Earnshaw@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: Changing the C/C++ compiler for gdb testsuite runs
Date: Thu, 10 Jan 2002 08:58:00 -0000 [thread overview]
Message-ID: <200201101658.KAA16306@duracef.shout.net> (raw)
Richard Earnshaw writes:
> 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 build my compilers with "prefix=/blah/blah/2002-01-10/blah ...."
and then I go ahead and install the compiler. When I run the gdb test
suite, I set $PATH to the place where the compiler-under-test lives.
You may need to set $LD_LIBRARY_PATH as well if you build gcc with shared
libraries (libgcc and libstdc++).
If you build gcc and gdb in a unified build tree then dejagnu will find
and use the uninstalled compiler in the unified build tree, even in
preference to $PATH. That behaviour actually got in my way so I stopped
using unified trees.
Michael C
next reply other threads:[~2002-01-10 16:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-10 8:58 Michael Elizabeth Chastain [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2002-01-11 8:07 Michael Elizabeth Chastain
2002-01-10 5:46 Richard Earnshaw
2002-01-10 17:30 ` Michael Snyder
2002-01-11 2:23 ` Richard Earnshaw
2002-01-11 7:26 ` Andrew Cagney
2002-01-11 7:38 ` Richard Earnshaw
2002-01-11 7:45 ` Andrew Cagney
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=200201101658.KAA16306@duracef.shout.net \
--to=mec@shout.net \
--cc=Richard.Earnshaw@arm.com \
--cc=gdb@sources.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