This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testglue patch needed to test recent gcc versions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]