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


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

Another problem: libbfd.a not found



I configured gdb as (Current CVS sources on i686 Linux 2.3.42, glibc 2.1.3pre3):
/cvs/binutils-gdb-ln/configure --prefix=/opt/binutils --enable-shared --disable-static --disable-nls

and got (after fixing some build problems):

make[1]: *** No rule to make target `../bfd/libbfd.a', needed by `gdb'.  Stop.

ls gives:
$ ls bfd/libbfd*
bfd/libbfd.la  bfd/libbfd.lo  bfd/libbfd.o

gdb shouldn't search for libbfd.a - I explictly asked only for shared
libs.

The problem are these lines in gdb/Makefile.in:
# Where is the BFD library?  Typically in ../bfd.
BFD_DIR = ../bfd
BFD = $(BFD_DIR)/libbfd.a

The gas Makefile.in has:
BFDLIB = @BFDLIB@

and some support in configure.in to fix this (and uses libtool).

What's the proper way to fix this?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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