Testglue patch needed to test recent gcc versions
Michael Chastain
mec.gnu@mindspring.com
Thu Aug 19 21:35:00 GMT 2004
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
More information about the Gcc
mailing list