This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

Re: unable to build arm9 gdb lack of termcap, termcap not provided by ncurses, rather terminfo


Hi Thomas;

  Hmmm...config.log in the gdb build directory shows nothing really meaningful 
unfortunately :-(

******************************************
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:581: checking host system type
configure:602: checking target system type
configure:620: checking build system type
configure:2697: checking for arm-arm9-linux-gnu-ar
configure:2769: checking for arm-arm9-linux-gnu-as
configure:2841: checking for arm-arm9-linux-gnu-dlltool
configure:2913: checking for arm-arm9-linux-gnu-ld
configure:2985: checking for arm-arm9-linux-gnu-nm
configure:3057: checking for arm-arm9-linux-gnu-ranlib
configure:3129: checking for arm-arm9-linux-gnu-windres
configure:3201: checking for arm-arm9-linux-gnu-objcopy
configure:3273: checking for arm-arm9-linux-gnu-objdump
configure:3354: checking for arm-arm9-linux-gnu-ar
configure:3426: checking for arm-arm9-linux-gnu-as
configure:3498: checking for arm-arm9-linux-gnu-dlltool
configure:3570: checking for arm-arm9-linux-gnu-ld
configure:3642: checking for arm-arm9-linux-gnu-nm
configure:3714: checking for arm-arm9-linux-gnu-ranlib
configure:3786: checking for arm-arm9-linux-gnu-windres
configure:3886: checking whether to enable maintainer-specific portions of 
Makefiles
******************************************

Ken

On Thursday 30 October 2003 17:26, Thomas Dickey wrote:
> On Thu, Oct 30, 2003 at 03:52:03PM -0600, Wolcott, Ken (MED, Compuware) 
wrote:
> > Hi;
> >
> >   I'm still unable to build an arm9 gdb using Dan Kegel's crosstool
> > (http://www.kegel.com/crosstool/) and a patched (ncurses-5.3-20031025)
> > ncurses-5.3 because it complains about a missing termcap.  ncurses
> > provides terminfo but I don't see a termcap.  The patched ncurses-53
> > apparently builds successfully if I turn off ada language support. 
> > crosstool apparently builds the arm9 cross toolchain successfully. 
> > Perhaps I haven't placed the libraries generated by ncurses in the
> > correct location for the gdb build to see them.  I copied
> > /tmp/ncurses/src/lib/* to the lib dir created by crosstool.  Perhaps gdb
> > configure needs to be told where to get libraries from?  Bzip2'd output
> > from the gdb build attempt and the script that initiates the build are
> > attached.
>
> There should be a config.log file in the gdb subdirectory that shows
> exactly what libraries were tried, and the corresponding -L options.
>
> This is what I'm using for djgpp for instance (to test cross-compiles of
> ncurses).
>
> #!/bin/sh
> # $Id: cfg-djgpp,v 1.2 2003/09/14 17:41:06 tom Exp $
> # configure to cross-compile ncurses for djgcc
> #
> # TODO: can I make it build with gnat?
> TARGET=i586-pc-msdosdjgpp
> TOOLS=/usr/local/compiler/cross/djgpp
> # export PATH=$TOOLS/bin:$PATH
> export AR=$TOOLS/bin/$TARGET-ar
> export RANLIB=$TOOLS/bin/$TARGET-ranlib
> export LD=$TOOLS/bin/$TARGET-ld
> export CC=djgcc
> export CXX=djgpp
> ./configure \
> 	--with-build-cc=gcc \
> 	--host=$TARGET \
> 	--target=$TARGET \
> 	$*


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