aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-12-18 01:32:45 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-12-18 01:32:45 +0800
commite0f124e74140cd9142fe3186ba3217fca8af0863 (patch)
treef964a395ec4cf4163ad5cf166c8e9da9fb4005ac /chapter06
parent39bc7c48df5c95e5bfdef67d8f2d8dd3bd3a8ed9 (diff)
chapter 6 ncurses: disable stripping (invoking host strip)
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/ncurses.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index 79b38e2b4..e9316ef98 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -68,6 +68,7 @@ popd</userinput></screen>
--without-debug \
--without-ada \
--without-normal \
+ --disable-stripping \
--enable-widec</userinput></screen>
<variablelist>
@@ -92,6 +93,15 @@ popd</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>--disable-stripping</parameter></term>
+ <listitem>
+ <para>This switch prevents the building system from stripping
+ the programs using <command>strip</command> program from the host.
+ Using host tools on cross-compiled program can cause failure.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--enable-widec</parameter></term>
<listitem>
<para>This switch causes wide-character libraries (e.g., <filename