[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testglue patch needed to test recent gcc versions
From: |
Michael Chastain |
Subject: |
Re: Testglue patch needed to test recent gcc versions |
Date: |
Thu, 19 Aug 2004 17:20:42 -0400 |
User-agent: |
nail 10.8 6/28/04 |
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