This is the mail archive of the gcc-bugs@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]

Re: egcs-980129/sh-elf build failure



  In message <34D1456F.3FB00EA2@faw.uni-ulm.de>you write:
  > egcs-980129 still fails to be build for --target=sh-elf :
  > 
  > gcc -DCROSS_COMPILE -DIN_GCC    -g  -DHAVE_CONFIG_H   -o genattrtab \
  >  genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo
  > obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*)
  > echo  ;; esac `
  > rtlanal.o: In function `dead_or_set_regno_p':
  > /lfs/hermes/embedded/sh-elf/src/gcc/rtlanal.c:1162: undefined reference
  > to `optimize'
  > make: *** [genattrtab] Error 1
I've just checked ina fix for this.  Just define the variable
"optimze" in genattrtab.c.

jeff


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