Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: Ashoka K <ashok.vinu@gmail.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: GDB on ARM
Date: Wed, 02 Apr 2014 06:22:00 -0000	[thread overview]
Message-ID: <533BAC1C.6060509@codesourcery.com> (raw)
In-Reply-To: <CALJd4cZPNGPb+ROrWAqo1MkZLTmwsJq9-yqT2GbgbxAnJWRKwA@mail.gmail.com>

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 (齐尧)


      parent reply	other threads:[~2014-04-02  6:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27  5:47 Ashoka K
2014-03-27  7:03 ` Senthil Kumar Selvaraj
2014-03-27  7:11 ` Yao Qi
2014-03-27 10:26   ` Richard Earnshaw
     [not found]   ` <CALJd4cZPNGPb+ROrWAqo1MkZLTmwsJq9-yqT2GbgbxAnJWRKwA@mail.gmail.com>
2014-04-02  6:22     ` Yao Qi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=533BAC1C.6060509@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=ashok.vinu@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox