| [bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> | 
|---|
|  | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" | 
|---|
|  | 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ | 
|---|
|  | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> | 
|---|
|  | 5 | %general-entities; | 
|---|
|  | 6 | ]> | 
|---|
|  | 7 |  | 
|---|
|  | 8 | <sect1 id="ch-temp-system-ncurses" role="wrap"> | 
|---|
|  | 9 | <?dbhtml filename="ncurses.html"?> | 
|---|
|  | 10 |  | 
|---|
|  | 11 | <title>Ncurses-&ncurses-version;</title> | 
|---|
|  | 12 |  | 
|---|
|  | 13 | <indexterm zone="ch-temp-system-ncurses"> | 
|---|
|  | 14 | <primary sortas="a-Ncurses">Ncurses</primary> | 
|---|
|  | 15 | <secondary>temporary system</secondary> | 
|---|
|  | 16 | </indexterm> | 
|---|
|  | 17 |  | 
|---|
| [3b9c9f7] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 19 | href="../../final-system/common/ncurses.xml" | 
|---|
|  | 20 | xpointer="xpointer(//*[@role='package'])"/> | 
|---|
| [bf8c11f] | 21 |  | 
|---|
|  | 22 | <sect2 role="installation"> | 
|---|
|  | 23 | <title>Installation of Ncurses</title> | 
|---|
|  | 24 |  | 
|---|
|  | 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 26 | href="../../final-system/common/ncurses.xml" | 
|---|
|  | 27 | xpointer="xpointer(//*[@os='a'])"/> | 
|---|
|  | 28 |  | 
|---|
| [127585f] | 29 | <screen os="b"><userinput>./configure --prefix=/tools --with-shared \ | 
|---|
| [9cb6b64] | 30 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \ | 
|---|
| [f53b075] | 31 | --without-debug --without-ada \ | 
|---|
| [a717694] | 32 | --enable-overwrite --with-build-cc=gcc</userinput></screen> | 
|---|
| [bf8c11f] | 33 |  | 
|---|
| [127585f] | 34 | <variablelist os="c"> | 
|---|
| [bf8c11f] | 35 | <title>The meaning of the configure options:</title> | 
|---|
|  | 36 |  | 
|---|
|  | 37 | <varlistentry> | 
|---|
|  | 38 | <term><parameter>--with-shared</parameter></term> | 
|---|
|  | 39 | <listitem> | 
|---|
| [11a722f] | 40 | <para>This tells Ncurses to create a shared library.</para> | 
|---|
| [bf8c11f] | 41 | </listitem> | 
|---|
|  | 42 | </varlistentry> | 
|---|
|  | 43 |  | 
|---|
|  | 44 | <varlistentry> | 
|---|
|  | 45 | <term><parameter>--without-debug</parameter></term> | 
|---|
|  | 46 | <listitem> | 
|---|
| [11a722f] | 47 | <para>This tells Ncurses not to build with debug information.</para> | 
|---|
| [bf8c11f] | 48 | </listitem> | 
|---|
|  | 49 | </varlistentry> | 
|---|
|  | 50 |  | 
|---|
|  | 51 | <varlistentry> | 
|---|
|  | 52 | <term><parameter>--without-ada</parameter></term> | 
|---|
|  | 53 | <listitem> | 
|---|
|  | 54 | <para>This ensures that Ncurses does not build support for the | 
|---|
|  | 55 | Ada compiler which may be present on the host but will not be | 
|---|
|  | 56 | available when building the final system.</para> | 
|---|
|  | 57 | </listitem> | 
|---|
|  | 58 | </varlistentry> | 
|---|
|  | 59 |  | 
|---|
|  | 60 | <varlistentry> | 
|---|
|  | 61 | <term><parameter>--enable-overwrite</parameter></term> | 
|---|
|  | 62 | <listitem> | 
|---|
|  | 63 | <para>This tells Ncurses to install its header files into | 
|---|
|  | 64 | <filename class="directory">/tools/include</filename>, instead of | 
|---|
|  | 65 | <filename class="directory">/tools/include/ncurses</filename>, to | 
|---|
|  | 66 | ensure that other packages can find the Ncurses headers | 
|---|
|  | 67 | successfully.</para> | 
|---|
|  | 68 | </listitem> | 
|---|
|  | 69 | </varlistentry> | 
|---|
|  | 70 |  | 
|---|
|  | 71 | <varlistentry> | 
|---|
|  | 72 | <term><parameter>--with-build-cc=gcc</parameter></term> | 
|---|
|  | 73 | <listitem> | 
|---|
| [11a722f] | 74 | <para>This tells Ncurses what type of compiler we are using.</para> | 
|---|
| [bf8c11f] | 75 | </listitem> | 
|---|
|  | 76 | </varlistentry> | 
|---|
|  | 77 |  | 
|---|
|  | 78 | </variablelist> | 
|---|
|  | 79 |  | 
|---|
|  | 80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 81 | href="../../final-system/common/ncurses.xml" | 
|---|
| [127585f] | 82 | xpointer="xpointer(//*[@os='c'])"/> | 
|---|
| [bf8c11f] | 83 |  | 
|---|
|  | 84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 85 | href="../../final-system/common/ncurses.xml" | 
|---|
| [127585f] | 86 | xpointer="xpointer(//*[@os='d'])"/> | 
|---|
| [bf8c11f] | 87 |  | 
|---|
|  | 88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 89 | href="../../final-system/common/ncurses.xml" | 
|---|
| [127585f] | 90 | xpointer="xpointer(//*[@os='f'])"/> | 
|---|
| [bf8c11f] | 91 |  | 
|---|
|  | 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 93 | href="../../final-system/common/ncurses.xml" | 
|---|
| [127585f] | 94 | xpointer="xpointer(//*[@os='g'])"/> | 
|---|
| [bf8c11f] | 95 |  | 
|---|
|  | 96 | </sect2> | 
|---|
|  | 97 |  | 
|---|
|  | 98 | <sect2 role="content"> | 
|---|
|  | 99 | <title/> | 
|---|
|  | 100 |  | 
|---|
|  | 101 | <para>Details on this package are located in <xref | 
|---|
|  | 102 | linkend="contents-ncurses" role="."/></para> | 
|---|
|  | 103 |  | 
|---|
|  | 104 | </sect2> | 
|---|
|  | 105 |  | 
|---|
|  | 106 | </sect1> | 
|---|