This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix simulator needs_status_wrapper/testglue usage without dejagnu-1.4.4 patches
- From: Richard Earnshaw <rearnsha at buzzard dot freeserve dot co dot uk>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Richard dot Earnshaw at buzzard dot freeserve dot co dot uk, gcc-patches at gcc dot gnu dot org, rearnsha at buzzard dot freeserve dot co dot uk
- Date: Thu, 07 Oct 2004 00:35:35 +0100
- Subject: Re: Fix simulator needs_status_wrapper/testglue usage without dejagnu-1.4.4 patches
> On Wed, 6 Oct 2004, Richard Earnshaw wrote:
> > Well, specifically the libstdc++ bit is causing all Thumb multilib
> > variants of arm-elf to fail. The problem is that the testglue file isn't
> > being rebuilt with the correct options for the multilib under test.
>
> Assuming a --target=arm-elf, what's the magic X in
> "make check-libstdc++ RUNTEST_FLAGS=--target_board=arm-elf\{X\}"
> to see this?
I normally run with a site.exp as follows (and set the environment
variable DEJAGNU to point to it):
#
# Set a default target list for various target triplets.
#
case "$target_triplet" in {
{ "arm*-*-netbsd*" } {
set board_info(unix,gcc,no_trampolines) "true"
set board_info(unix,objc,no_trampolines) "true"
set board_info(unix,g77,no_trampolines) "true"
}
{ "arm*-*-elf*" } {
set target_list { "arm-sim{,-mthumb}" }
set board_info(arm-sim,hostname) "localhost"
set board_info(arm-sim,gdb,skip_huge_test) 1
set board_info(arm-sim,sim,options) "-m 8378368"
set board_info(arm-sim/-mthumb,hostname) "localhost"
set board_info(arm-sim/-mthumb,gdb,skip_huge_test) 1
set board_info(arm-sim/-mthumb,sim,options) "-m 8378368"
}
}