genrecog needs libiberty
Philippe De Muyter
phdm@macqel.be
Fri Nov 26 02:26:00 GMT 1999
Problem :
cc -DIN_GCC -g -DHAVE_CONFIG_H -o genrecog \
genrecog.o rtl.o bitmap.o ggc-none.o print-rtl.o errors.o ` case "obstack.o" in
?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?
*) echo ;; esac `
genrecog.o: In function `validate_pattern':
genrecog.c:556: undefined reference to `strstr'
gnumake[2]: *** [genrecog] Error 1
Fix :
Fri Nov 26 10:51:18 1999 Philippe De Muyter <phdm@macqel.be>
* Makefile.in (HOST_LIBS): Macro augmented by `libiberty.a'.
--- ./gcc/Makefile.in Thu Nov 25 18:26:28 1999
+++ ./gcc/Makefile.in Thu Nov 25 10:43:02 1999
@@ -568,7 +568,7 @@
# even if we are cross-building GCC.
HOST_LIBS = $(USE_HOST_OBSTACK) $(USE_HOST_ALLOCA) $(USE_HOST_MALLOC) \
$(HOST_INTLLIBS) $(USE_HOST_VFPRINTF) $(USE_HOST_DOPRINT) \
- $(HOST_CLIB)
+ $(HOST_CLIB) ../libiberty/libiberty.a
HOST_RTL = $(HOST_PREFIX)rtl.o $(HOST_PREFIX)bitmap.o $(HOST_PREFIX)ggc-none.o
HOST_PRINT = $(HOST_PREFIX)print-rtl.o
More information about the Gcc-patches
mailing list