From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25774 invoked by alias); 2 Apr 2014 06:22:25 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 25763 invoked by uid 89); 2 Apr 2014 06:22:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Apr 2014 06:22:20 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1WVEYz-0007Bn-Jy from Yao_Qi@mentor.com ; Tue, 01 Apr 2014 23:22:17 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 1 Apr 2014 23:22:17 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Tue, 1 Apr 2014 23:22:16 -0700 Message-ID: <533BAC1C.6060509@codesourcery.com> Date: Wed, 02 Apr 2014 06:22:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Ashoka K CC: "gdb@sourceware.org" Subject: Re: GDB on ARM References: <5333CEA2.3090001@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00002.txt.bz2 On 04/02/2014 01:34 PM, Ashoka K wrote: > I cross compiled ncurses5-dev library by giving install path same as > the path obtained by printing "arm-none-linux-gnueabi-gcc > --print-sysroot". But still i get the same error. Also copied the > compiled libtermcap.a in to the same directory mentioned. Still i get > the same error. I tried with static library, do i need to build shared > lib or any thing else has to be done ? > Also set variable LD (for host) as the path to the lib directory where > libtermcap.a is copied. > > checking for iconv declaration... install-shextern size_t iconv > (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, > size_t *outbytesleft); > checking for library containing waddstr... no > configure: WARNING: no enhanced curses library found; disabling TUI > checking for library containing tgetent... no > configure: error: no termcap library found You still need to make sure your installed libncurses can be found during configure. I build native mips gdb on x86-linux and installed ncurse to MIPS_NCURSES. I pass the following to configure CFLAGS="-I$MIPS_NCURSES/include -L$MIPS_NCURSES/lib" -- Yao (齐尧)