mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Automatic merge of trunk into multilib
This commit is contained in:
commit
0160d68e19
@ -40,6 +40,16 @@
|
|||||||
appropriate for the entry or if needed the entire day's listitem.
|
appropriate for the entry or if needed the entire day's listitem.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>2022-06-29</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[pierre] - Generate shared C++ bindings for ncurses, instead
|
||||||
|
of generating and then removing the static ones.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>2022-06-14</para>
|
<para>2022-06-14</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -65,9 +65,10 @@ popd</userinput></screen>
|
|||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--with-manpage-format=normal \
|
--with-manpage-format=normal \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
|
--without-normal \
|
||||||
|
--with-cxx-shared \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
--without-ada \
|
--without-ada \
|
||||||
--without-normal \
|
|
||||||
--disable-stripping \
|
--disable-stripping \
|
||||||
--enable-widec</userinput></screen>
|
--enable-widec</userinput></screen>
|
||||||
|
|
||||||
@ -83,6 +84,37 @@ popd</userinput></screen>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--with-shared</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This makes Ncurses build and install shared C libraries.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--without-normal</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This prevents Ncurses building and installing static C
|
||||||
|
libraries.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--without-debug</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This prevents Ncurses building and installing debug
|
||||||
|
libraries.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--with-cxx-shared</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This makes Ncurses build and install shared C++ bindings. It
|
||||||
|
also prevents it building and installing static C++ bindings.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--without-ada</parameter></term>
|
<term><parameter>--without-ada</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -115,14 +147,6 @@ popd</userinput></screen>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><parameter>--without-normal</parameter></term>
|
|
||||||
<listitem>
|
|
||||||
<para>This switch disables building and installing most static libraries.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
@ -133,12 +157,12 @@ popd</userinput></screen>
|
|||||||
|
|
||||||
<screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
|
<screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
|
||||||
echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen>
|
echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen>
|
||||||
|
<!--
|
||||||
<para>Remove an unneeded static library not handled by
|
<para>Remove an unneeded static library not handled by
|
||||||
<command>configure</command>:</para>
|
<command>configure</command>:</para>
|
||||||
|
|
||||||
<screen><userinput remap="install">rm -v $LFS/usr/lib/libncurses++w.a</userinput></screen>
|
<screen><userinput remap="install">rm -v $LFS/usr/lib/libncurses++w.a</userinput></screen>
|
||||||
|
-->
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the install options:</title>
|
<title>The meaning of the install options:</title>
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
--with-shared \
|
--with-shared \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
--without-normal \
|
--without-normal \
|
||||||
|
--with-cxx-shared \
|
||||||
--enable-pc-files \
|
--enable-pc-files \
|
||||||
--enable-widec \
|
--enable-widec \
|
||||||
--with-pkg-config-libdir=/usr/lib/pkgconfig</userinput></screen>
|
--with-pkg-config-libdir=/usr/lib/pkgconfig</userinput></screen>
|
||||||
@ -56,16 +57,33 @@
|
|||||||
<title>The meaning of the new configure options:</title>
|
<title>The meaning of the new configure options:</title>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--enable-widec</parameter></term>
|
<term><parameter>--with-shared</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>This switch causes wide-character libraries (e.g., <filename
|
<para>This makes Ncurses build and install shared C libraries.</para>
|
||||||
class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
|
</listitem>
|
||||||
to be built instead of normal ones (e.g., <filename
|
</varlistentry>
|
||||||
class="libraryfile">libncurses.so.&ncurses-version;</filename>).
|
|
||||||
These wide-character libraries are usable in both multibyte and
|
<varlistentry>
|
||||||
traditional 8-bit locales, while normal libraries work properly
|
<term><parameter>--without-normal</parameter></term>
|
||||||
only in 8-bit locales. Wide-character and normal libraries are
|
<listitem>
|
||||||
source-compatible, but not binary-compatible.</para>
|
<para>This prevents Ncurses building and installing static C
|
||||||
|
libraries.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--without-debug</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This prevents Ncurses building and installing debug
|
||||||
|
libraries.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--with-cxx-shared</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This makes Ncurses build and install shared C++ bindings. It
|
||||||
|
also prevents it building and installing static C++ bindings.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -78,10 +96,16 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--without-normal</parameter></term>
|
<term><parameter>--enable-widec</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>This switch disables building and installing most static libraries.
|
<para>This switch causes wide-character libraries (e.g., <filename
|
||||||
</para>
|
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>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -112,7 +136,7 @@
|
|||||||
|
|
||||||
<screen><userinput remap="install">make DESTDIR=$PWD/dest install
|
<screen><userinput remap="install">make DESTDIR=$PWD/dest install
|
||||||
install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
|
install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
|
||||||
rm -v dest/usr/lib/{libncursesw.so.&ncurses-version;,libncurses++w.a}
|
rm -v dest/usr/lib/libncursesw.so.&ncurses-version;
|
||||||
cp -av dest/* /</userinput></screen>
|
cp -av dest/* /</userinput></screen>
|
||||||
|
|
||||||
<para>Many applications still expect the linker to be able to find
|
<para>Many applications still expect the linker to be able to find
|
||||||
|
Loading…
Reference in New Issue
Block a user