| 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 |   </indexterm>
 | 
|---|
| 16 | 
 | 
|---|
| 17 |   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 18 |   href="../../final-system/common/ncurses.xml"
 | 
|---|
| 19 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| 20 | 
 | 
|---|
| 21 |   <sect2 role="installation">
 | 
|---|
| 22 |     <title>Installation of Ncurses</title>
 | 
|---|
| 23 | 
 | 
|---|
| 24 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 25 |     href="../../temp-system/common/ncurses.xml"
 | 
|---|
| 26 |     xpointer="xpointer(//*[@os='p1'])"/>
 | 
|---|
| 27 | 
 | 
|---|
| 28 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 29 |     href="../../temp-system/common/ncurses.xml"
 | 
|---|
| 30 |     xpointer="xpointer(//*[@os='p2'])"/>
 | 
|---|
| 31 | 
 | 
|---|
| 32 |     <para os="a">Prepare Ncurses for compilation:</para>
 | 
|---|
| 33 | 
 | 
|---|
| 34 | <screen os="b"><userinput>./configure --prefix=/cross-tools \
 | 
|---|
| 35 |     --without-shared</userinput></screen>
 | 
|---|
| 36 | 
 | 
|---|
| 37 |     <para os="c">Build the headers and then build <command>tic</command>:</para>
 | 
|---|
| 38 | 
 | 
|---|
| 39 | <screen os="d"><userinput>make -C include
 | 
|---|
| 40 | make -C progs tic</userinput></screen>
 | 
|---|
| 41 | 
 | 
|---|
| 42 |     <para os="e">Install <command>tic</command> with the following command:</para>
 | 
|---|
| 43 | 
 | 
|---|
| 44 | <screen os="f"><userinput>install -m755 progs/tic /cross-tools/bin</userinput></screen>
 | 
|---|
| 45 | 
 | 
|---|
| 46 |   </sect2>
 | 
|---|
| 47 | 
 | 
|---|
| 48 |   <sect2 role="content">
 | 
|---|
| 49 |     <title/>
 | 
|---|
| 50 | 
 | 
|---|
| 51 |     <para>Details on this package are located in <xref
 | 
|---|
| 52 |     linkend="contents-ncurses" role="."/></para>
 | 
|---|
| 53 | 
 | 
|---|
| 54 |   </sect2>
 | 
|---|
| 55 | 
 | 
|---|
| 56 | </sect1>
 | 
|---|