aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/ncurses.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-20 01:18:30 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-20 01:18:30 +0000
commitcb23c1a6ab0a3c279df1f453ef9585b062963ec4 (patch)
tree2b9d62f95bb276320d0631397722a57a1abacd0a /chapter05/ncurses.xml
parentcde2ae7b0fd8f2f9de248a9a58094066d3b621b0 (diff)
Added a Chapter 5 build of util-linux in preparation for
moving the Chapter 6 build to after udev. This satisfies a circular dependency. This is not the complete fix as this build has not yet been incorporated into Chapter 6. Mount /run as a tmpfs for Chapter 6. This allows use by test processes during Chapter 6 without carying the files over to the new system. Other minor cleanups. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10447 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/ncurses.xml')
-rw-r--r--chapter05/ncurses.xml23
1 files changed, 21 insertions, 2 deletions
diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml
index 18da06aec..2db0a770c 100644
--- a/chapter05/ncurses.xml
+++ b/chapter05/ncurses.xml
@@ -45,8 +45,13 @@
<para>Prepare Ncurses for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools --with-shared \
- --without-debug --without-ada --enable-overwrite</userinput></screen>
+<screen><userinput remap="configure">
+./configure --prefix=/tools \
+ --with-shared \
+ --without-debug \
+ --without-ada \
+ --enable-widec \
+ --enable-overwrite</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -71,6 +76,20 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--enable-widec</parameter></term>
+ <listitem>
+ <para>This switch causes wide-character libraries (e.g., <filename
+ class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
+ to be built instead of normal ones (e.g., <filename
+ class="libraryfile">libncurses.so.&ncurses-version;</filename>).
+ These wide-character libraries are usable in both multibyte and
+ traditional 8-bit locales, while normal libraries work properly
+ only in 8-bit locales. Wide-character and normal libraries are
+ source-compatible, but not binary-compatible.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>