This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: opcodes/Makefile.am: $(LIBIBERTY) not set, needed for ia64-gen
- To: hans-peter dot nilsson at axis dot com
- Subject: Re: opcodes/Makefile.am: $(LIBIBERTY) not set, needed for ia64-gen
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Sun, 21 May 2000 10:02:17 -0700
- CC: binutils at sourceware dot cygnus dot com
Hi Hans-Peter,
: opcodes/Makefile.am:
: ia64-gen: ia64-gen.o
: $(LINK) ia64-gen.o $(LIBIBERTY)
:
: I can't see that LIBIBERTY is set anywhere. Linking with libiberty
: is needed and causes undefined references to xmalloc, xstrdup et
: al. - unless those symbols are provided by the system libc.
: Perhaps everybody doing ia64 development or --enable-targets=all
: has it in their system libc and that's why nobody has noticed.
:
: Defining LIBIBERTY as ../libiberty/libiberty.a might be right,
: but perhaps there's an automake thingy that should be used.
Well just defininbg it seems the easiest thing to do for now, so I
have chekced the following patch in.
Cheers
Nick
2000-05-21 Nick Clifton <nickc@cygnus.com>
* Makefile.am (LIBIBERTY): Define.
Index: Makefile.am
===================================================================
RCS file: /cvs/src//src/opcodes/Makefile.am,v
retrieving revision 1.13
diff -p -r1.13 Makefile.am
*** Makefile.am 2000/05/06 17:14:34 1.13
--- Makefile.am 2000/05/21 17:00:44
*************** lib_LTLIBRARIES = libopcodes.la
*** 16,21 ****
--- 16,24 ----
# This is where bfd.h lives.
BFD_H = ../bfd/bfd.h
+ # This is where libiberty lives.
+ LIBIBERTY = ../libiberty/libiberty.a
+
# Header files.
HFILES = \
arm-opc.h \