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

sysvinit
Last change on this file since f9e40f7 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.7 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 \
46 --prefix=/cross-tools \
47 --without-debug</userinput></screen>
48
49 <variablelist os="b1">
50 <title>The meaning of the new configure options:</title>
51
52 <varlistentry os="b2">
53 <term><parameter>--without-debug</parameter></term>
54 <listitem>
55 <para>Tells Ncurses to build without debugging information.</para>
56 </listitem>
57 </varlistentry>
58
59 </variablelist>
60
61 <para os="c">Only one binary is needed for the Cross-Tools. Build the
62 headers and then build <command>tic</command>:</para>
63
64<screen os="d"><userinput>make -C include
65make -C progs tic</userinput></screen>
66
67 <para os="e">Install <command>tic</command> with the following command:</para>
68
69<screen os="f"><userinput>install -v -m755 progs/tic /cross-tools/bin</userinput></screen>
70
71 </sect2>
72
73 <sect2 role="content">
74 <title/>
75
76 <para>Details on this package are located in <xref
77 linkend="contents-ncurses" role="."/></para>
78
79 </sect2>
80
81</sect1>
Note: See TracBrowser for help on using the repository browser.