[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 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7153563] | 26 | href="../../temp-system/common/ncurses.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 28 |
|
---|
[dabbced] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7153563] | 30 | href="../../temp-system/common/ncurses.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 32 |
|
---|
| 33 | <para os="a">Prepare Ncurses for compilation:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="b"><userinput>./configure --prefix=/cross-tools \
|
---|
[3651f5c] | 36 | --without-debug --without-shared</userinput></screen>
|
---|
[7153563] | 37 |
|
---|
[ee47e58] | 38 | <variablelist os="b1">
|
---|
| 39 | <title>The meaning of the new configure options:</title>
|
---|
| 40 |
|
---|
| 41 | <varlistentry os="b2">
|
---|
| 42 | <term><parameter>--without-debug</parameter></term>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Tells Ncurses to build without debugging information.</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | </varlistentry>
|
---|
| 47 |
|
---|
| 48 | <varlistentry os="b2">
|
---|
| 49 | <term><parameter>--without-shared</parameter></term>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>This prevents Ncurses from building its shared libraries, which
|
---|
| 52 | are not needed at this time.</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | </varlistentry>
|
---|
| 55 |
|
---|
| 56 | </variablelist>
|
---|
| 57 |
|
---|
[a6b67b3] | 58 | <para os="c">Only one binary is needed for the Cross-Tools. Build the
|
---|
| 59 | headers and then build <command>tic</command>:</para>
|
---|
[7153563] | 60 |
|
---|
| 61 | <screen os="d"><userinput>make -C include
|
---|
| 62 | make -C progs tic</userinput></screen>
|
---|
| 63 |
|
---|
[9f5a80a] | 64 | <para os="e">Install <command>tic</command> with the following command:</para>
|
---|
[7153563] | 65 |
|
---|
[59f743e] | 66 | <screen os="f"><userinput>install -v -m755 progs/tic /cross-tools/bin</userinput></screen>
|
---|
[7153563] | 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 role="content">
|
---|
| 71 | <title/>
|
---|
| 72 |
|
---|
| 73 | <para>Details on this package are located in <xref
|
---|
| 74 | linkend="contents-ncurses" role="."/></para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | </sect1>
|
---|