source: BOOK/cross-tools/common/ncurses.xml

systemd
Last change on this file was 6f21829, checked in by William Harrington <kb0iic@…>, 8 years ago

Upgrade Ncurses from 5.9 to 6.0

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[7153563]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-cross-tools-ncurses" role="wrap">
9  <?dbhtml filename="ncurses.html"?>
10
11  <title>Ncurses-&ncurses-version;</title>
12
13  <indexterm zone="ch-cross-tools-ncurses">
14    <primary sortas="a-Ncurses">Ncurses</primary>
[979b26f]15    <secondary>cross tools</secondary>
[7153563]16  </indexterm>
17
[dabbced]18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7153563]19  href="../../final-system/common/ncurses.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Ncurses</title>
24
[1b9516f]25    <para os="e1">When Ncurses is compiled, it executes <command>tic</command>
26    to create a terminfo database in
27    <filename class="directory">${prefix}/share/terminfo</filename>. If
28    possible, the <filename>Makefile</filename> will use the
29    <command>tic</command> binary that was just compiled in its
30    source tree, but this does not work when Ncurses is cross-compiled. To
31    allow the Ncurses build in <xref linkend="chapter-temp-system" /> to succeed, we
32    will build and install a <command>tic</command> program that can be run on
33    the host system.</para>
34
[6f21829]35<!--Ncurses Branch Update Area
[dabbced]36    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7153563]37    href="../../temp-system/common/ncurses.xml"
38    xpointer="xpointer(//*[@os='p1'])"/>
39
[dabbced]40    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7153563]41    href="../../temp-system/common/ncurses.xml"
42    xpointer="xpointer(//*[@os='p2'])"/>
[6f21829]43-->
[7153563]44
45    <para os="a">Prepare Ncurses for compilation:</para>
46
[7cd7f99]47<screen os="b"><userinput>AWK=gawk ./configure \
48    --prefix=/cross-tools \
[ca61efa]49    --without-debug</userinput></screen>
[7153563]50
[ee47e58]51    <variablelist os="b1">
52      <title>The meaning of the new configure options:</title>
53
54      <varlistentry os="b2">
55        <term><parameter>--without-debug</parameter></term>
56        <listitem>
57          <para>Tells Ncurses to build without debugging information.</para>
58        </listitem>
59      </varlistentry>
60
61    </variablelist>
62
[a6b67b3]63    <para os="c">Only one binary is needed for the Cross-Tools. Build the
64    headers and then build <command>tic</command>:</para>
[7153563]65
66<screen os="d"><userinput>make -C include
67make -C progs tic</userinput></screen>
68
[9f5a80a]69    <para os="e">Install <command>tic</command> with the following command:</para>
[7153563]70
[59f743e]71<screen os="f"><userinput>install -v -m755 progs/tic /cross-tools/bin</userinput></screen>
[7153563]72
73  </sect2>
74
75  <sect2 role="content">
76    <title/>
77
78    <para>Details on this package are located in <xref
79    linkend="contents-ncurses" role="."/></para>
80
81  </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.