This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testglue patch needed to test recent gcc versions
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: drow at false dot org, dejagnu at gnu dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 19 Aug 2004 17:20:42 -0400
- Subject: Re: Testglue patch needed to test recent gcc versions
- References: <20040819201423.GA2165@nevyn.them.org>
Ouch, I forgot about testglue.o.
Any thoughts on how to kludge gdb testing to work with the released
dejagnu 1.4.4?
Of course dejagnu has to be fixed, but gdb and gcc have to keep
testing with dejagnu 1.4.4 for a while.
Perhaps play with CFLAGS_FOR_TARGET before and after the call
to build_wrapper:
global CFLAGS_FOR_TARGET
if { [info exists CFLAGS_FOR_TARGET] } {
set old_CFLAGS_FOR_TARGET $CFLAGS_FOR_TARGET
set CFLAGS_FOR_TARGET "$CFLAGS_FOR_TARGET -w"
} else {
set CFLAGS_FOR_TARGET "-w"
}
set result [build_wrapper "testglue.o"];
if { [info exists old_CFLAGS_FOR_TARGET] } {
set CFLAGS_FOR_TARGET $old_CFLAGS_FOR_TARGET
} else {
unset CFLAGS_FOR_TARGET
}
I wonder why java_init has its own call to build_wrapper? Bletch.
Michael