[3f8be484] | 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 |
|
---|
[d0c5f50] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/ncurses.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 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 |
|
---|
[dd618bf] | 29 | <screen os="b"><userinput>./configure --prefix=/tools --with-shared \
|
---|
[3f8be484] | 30 | --host=${LFS_TARGET} --without-debug --without-ada \
|
---|
| 31 | --enable-overwrite --with-build-cc=gcc</userinput></screen>
|
---|
| 32 |
|
---|
[dd618bf] | 33 | <variablelist os="c">
|
---|
[3f8be484] | 34 | <title>The meaning of the configure options:</title>
|
---|
| 35 |
|
---|
| 36 | <varlistentry>
|
---|
| 37 | <term><parameter>--with-shared</parameter></term>
|
---|
| 38 | <listitem>
|
---|
[43f3140] | 39 | <para>This tells Ncurses to create a shared library.</para>
|
---|
[3f8be484] | 40 | </listitem>
|
---|
| 41 | </varlistentry>
|
---|
| 42 |
|
---|
| 43 | <varlistentry>
|
---|
| 44 | <term><parameter>--without-debug</parameter></term>
|
---|
| 45 | <listitem>
|
---|
[43f3140] | 46 | <para>This tells Ncurses not to build with debug information.</para>
|
---|
[3f8be484] | 47 | </listitem>
|
---|
| 48 | </varlistentry>
|
---|
| 49 |
|
---|
| 50 | <varlistentry>
|
---|
| 51 | <term><parameter>--without-ada</parameter></term>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>This ensures that Ncurses does not build support for the
|
---|
| 54 | Ada compiler which may be present on the host but will not be
|
---|
| 55 | available when building the final system.</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </varlistentry>
|
---|
| 58 |
|
---|
| 59 | <varlistentry>
|
---|
| 60 | <term><parameter>--enable-overwrite</parameter></term>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>This tells Ncurses to install its header files into
|
---|
| 63 | <filename class="directory">/tools/include</filename>, instead of
|
---|
| 64 | <filename class="directory">/tools/include/ncurses</filename>, to
|
---|
| 65 | ensure that other packages can find the Ncurses headers
|
---|
| 66 | successfully.</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </varlistentry>
|
---|
| 69 |
|
---|
| 70 | <varlistentry>
|
---|
| 71 | <term><parameter>--with-build-cc=gcc</parameter></term>
|
---|
| 72 | <listitem>
|
---|
[43f3140] | 73 | <para>This tells Ncurses what type of compiler we are using.</para>
|
---|
[3f8be484] | 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
| 76 |
|
---|
| 77 | </variablelist>
|
---|
| 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 80 | href="../../final-system/common/ncurses.xml"
|
---|
[dd618bf] | 81 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
[3f8be484] | 82 |
|
---|
| 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 84 | href="../../final-system/common/ncurses.xml"
|
---|
[dd618bf] | 85 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
[3f8be484] | 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 88 | href="../../final-system/common/ncurses.xml"
|
---|
[dd618bf] | 89 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
[3f8be484] | 90 |
|
---|
| 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 92 | href="../../final-system/common/ncurses.xml"
|
---|
[dd618bf] | 93 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
[3f8be484] | 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="content">
|
---|
| 98 | <title/>
|
---|
| 99 |
|
---|
| 100 | <para>Details on this package are located in <xref
|
---|
| 101 | linkend="contents-ncurses" role="."/></para>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | </sect1>
|
---|