From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12698 invoked by alias); 31 Oct 2003 14:43:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12691 invoked from network); 31 Oct 2003 14:43:18 -0000 Received: from unknown (HELO ext-nj2gw-2.online-age.net) (216.35.73.164) by sources.redhat.com with SMTP; 31 Oct 2003 14:43:18 -0000 Received: from int-nj2gw-4.online-age.net (int-nj2gw-4 [3.159.236.68]) by ext-nj2gw-2.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id h9VEhD1o021822; Fri, 31 Oct 2003 09:43:14 -0500 (EST) Received: from uswaumsxb4medge.med.ge.com (localhost [127.0.0.1]) by int-nj2gw-4.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id h9VEhCYq017627; Fri, 31 Oct 2003 09:43:13 -0500 (EST) Received: by uswaumsxb4medge.med.ge.com with Internet Mail Service (5.5.2656.59) id ; Fri, 31 Oct 2003 08:40:09 -0600 Received: from tuba.moneng.mei.com ([3.20.87.235]) by uswaumsxbhmedge.med.ge.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VVRCWALF; Fri, 31 Oct 2003 08:43:00 -0600 From: "Wolcott, Ken (MED, Compuware)" Reply-To: "Wolcott, Ken (MED, Compuware)" To: dickey@his.com Cc: gdb mailing list Content-Type: text/plain; charset="iso-8859-1" Organization: GEMS-IT Subject: Re: unable to build arm9 gdb lack of termcap, termcap not provided by ncurses, rather terminfo Date: Fri, 31 Oct 2003 14:43:00 -0000 User-Agent: KMail/1.4.3 References: <200310301552.03913.ken.wolcott@med.ge.com> <20031030232655.GA15004@invisible-island.net> In-Reply-To: <20031030232655.GA15004@invisible-island.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310310845.35490.ken.wolcott@med.ge.com> X-SW-Source: 2003-10/txt/msg00344.txt.bz2 Hi Thomas; Hmmm...config.log in the gdb build directory shows nothing really meaning= ful=20 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= =20 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)=20 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.=20 > > crosstool apparently builds the arm9 cross toolchain successfully.=20 > > 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=3Di586-pc-msdosdjgpp > TOOLS=3D/usr/local/compiler/cross/djgpp > # export PATH=3D$TOOLS/bin:$PATH > export AR=3D$TOOLS/bin/$TARGET-ar > export RANLIB=3D$TOOLS/bin/$TARGET-ranlib > export LD=3D$TOOLS/bin/$TARGET-ld > export CC=3Ddjgcc > export CXX=3Ddjgpp > ./configure \ > --with-build-cc=3Dgcc \ > --host=3D$TARGET \ > --target=3D$TARGET \ > $*