diff -upk.orig gdb-6.6.orig/configure.in gdb-6.6/configure.in --- gdb-6.6.orig/configure.in 2006-12-18 07:22:58 +0000 +++ gdb-6.6/configure.in 2007-04-01 16:18:24 +0000 @@ -123,7 +123,7 @@ build_tools="build-texinfo build-byacc b # these libraries are used by various programs built for the host environment # -host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber" +host_libs="intl mmalloc libiberty opcodes bfd tcl tk itcl libgui zlib libcpp libdecnumber" # these tools are built for the host environment # Note, the powerpc-eabi build depends on sim occurring before gdb in order to diff -upk.orig gdb-6.6.orig/gdb/Makefile.in gdb-6.6/gdb/Makefile.in --- gdb-6.6.orig/gdb/Makefile.in 2006-11-24 19:54:14 +0000 +++ gdb-6.6/gdb/Makefile.in 2007-04-01 16:17:38 +0000 @@ -123,10 +123,10 @@ BFD_SRC = $(srcdir)/$(BFD_DIR) BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC) # Where is the READLINE library? Typically in ../readline. -READLINE_DIR = ../readline -READLINE = $(READLINE_DIR)/libreadline.a -READLINE_SRC = $(srcdir)/$(READLINE_DIR) -READLINE_CFLAGS = -I$(READLINE_SRC)/.. +READLINE_DIR = /usr/include/readline +READLINE = -lreadline +READLINE_SRC = $(READLINE_DIR) +READLINE_CFLAGS = # Where is expat? This will be empty if expat was not available. LIBEXPAT = @LIBEXPAT@ diff -upk.orig gdb-6.6.orig/gdb/doc/Makefile.in gdb-6.6/gdb/doc/Makefile.in --- gdb-6.6.orig/gdb/doc/Makefile.in 2006-05-05 18:26:11 +0000 +++ gdb-6.6/gdb/doc/Makefile.in 2007-04-01 16:17:38 +0000 @@ -58,7 +58,7 @@ TEXI2DVI=texi2dvi # Where is the source dir for the READLINE library doc? # Traditionally readline is in .. or . -READLINE_DIR = ${gdbdir}/../readline/doc +READLINE_DIR = ${gdbdir}/../readline-doc # The GDB/MI docs come from a sibling directory ../mi GDBMI_DIR = ${gdbdir}/mi