public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: crossgcc@sourceware.org
Cc: Doug Kehn <rdkehn@yahoo.com>
Subject: Re: Target libncurses Install
Date: Thu, 21 Jan 2010 21:25:00 -0000	[thread overview]
Message-ID: <201001212225.03720.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <272451.30667.qm@web52005.mail.re2.yahoo.com>

Hello Doug, All!

On Thursday 21 January 2010 22:09:11 Doug Kehn wrote:
> I noticed that the target ncurses libraries aren't installed in the
> toolchain's sysroot directory.  Is there an explicit config item or
> an extra ct-ng step I missed?  

First, 1.5.3 is out, and it has a few fixes worth upgrading.

Second, in the 1.5 series, ncurses should still be installed in the sysroot,
see this code snippet from scripts/build/debug/300-gdb.sh :

---8<---
CT_DoLog EXTRA "Installing ncurses"
mkdir -p "${CT_SYSROOT_DIR}/usr/bin"
CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
---8<---

Third, the ncurses build is just for internal use, as it is required to
build the native gdb (that runs on the target), beacause gdb has hard-
coded calls to some ncurses functions, and this is not de-configurable.
So the ncurses that crosstool-NG builds is not expected to be used by
anything else than crosstool-NG.

Fourth, the (upcoming) 1.6 series will no longer install the ncurses
library in the sysroot, and will link gdb statically against libncurses
(still keeping dynamic linking for the other libs, though).

> I just downloaded crosstools-ng-1.5.3.

Oh good! :-)

> Since the build takes some time, I thought I'd ask to see what I'm
> doing wrong or what I need to do.

Well, to do it right, you should not rely on the ncurses in the sysroot in
the first place, and use your own version.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

      reply	other threads:[~2010-01-21 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 21:09 Doug Kehn
2010-01-21 21:25 ` Yann E. MORIN [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=201001212225.03720.yann.morin.1998@anciens.enib.fr \
    --to=yann.morin.1998@anciens.enib.fr \
    --cc=crossgcc@sourceware.org \
    --cc=rdkehn@yahoo.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).