This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

PATCH for alloca-less systems.


If the bootstrap compiler doesn't have intrinsic alloca, the build of 
sysinfo will fail becuase the bison parser uses alloca but the executable
isn't linked against libiberty.   This patch cures that.

I'll leave it to the committer to regenerate Makefile.in since my version
of automake makes dogmeat out of Makefile.in.

1999-12-29  Robert Lipe  <robertl@sco.com>

	* Makefile.am (sysinfo): Link against libiberty.
	* Makefile.in: Regenerated.

Index: Makefile.am
===================================================================
RCS file: /cvs/binutils/binutils/binutils/Makefile.am,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile.am
--- Makefile.am 1999/08/08 18:09:48     1.7
+++ Makefile.am 1999/12/29 20:30:35
@@ -217,7 +217,7 @@ sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sy
        ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
 
 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
-       $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o 
+       $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o $(LIBIBERTY)
 
 syslex.o: syslex.c sysinfo.h
        if [ -r syslex.c ]; then \


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