This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Another problem: libbfd.a not found
- To: gdb at sourceware dot cygnus dot com
- Subject: Another problem: libbfd.a not found
- From: Andreas Jaeger <aj at suse dot de>
- Date: 10 Feb 2000 19:49:07 +0100
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