source: BOOK/cross-tools/common/ncurses.xml@ 715d370d

sysvinit
Last change on this file since 715d370d was e15ed01d, checked in by William Harrington <kb0iic@…>, 9 years ago

Upgrade to Binutils 2.25.1 from 2.24 and add gold and plugin support.

  • Property mode set to 100644
File size: 2.6 KB
Line 
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>
15 <secondary>cross tools</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/common/ncurses.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Ncurses</title>
24
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
35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
36 href="../../temp-system/common/ncurses.xml"
37 xpointer="xpointer(//*[@os='p1'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
40 href="../../temp-system/common/ncurses.xml"
41 xpointer="xpointer(//*[@os='p2'])"/>
42
43 <para os="a">Prepare Ncurses for compilation:</para>
44
45<screen os="b"><userinput>AWK=gawk ./configure --prefix=/cross-tools \
46 --without-debug</userinput></screen>
47
48 <variablelist os="b1">
49 <title>The meaning of the new configure options:</title>
50
51 <varlistentry os="b2">
52 <term><parameter>--without-debug</parameter></term>
53 <listitem>
54 <para>Tells Ncurses to build without debugging information.</para>
55 </listitem>
56 </varlistentry>
57
58 </variablelist>
59
60 <para os="c">Only one binary is needed for the Cross-Tools. Build the
61 headers and then build <command>tic</command>:</para>
62
63<screen os="d"><userinput>make -C include
64make -C progs tic</userinput></screen>
65
66 <para os="e">Install <command>tic</command> with the following command:</para>
67
68<screen os="f"><userinput>install -v -m755 progs/tic /cross-tools/bin</userinput></screen>
69
70 </sect2>
71
72 <sect2 role="content">
73 <title/>
74
75 <para>Details on this package are located in <xref
76 linkend="contents-ncurses" role="."/></para>
77
78 </sect2>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.