[lfs] branch multilib updated: PCRE2: Add m32 and mx32 installation instructions.
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <175729994484.27944.10214533371044895154@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch multilib
in repository lfs.
The following commit(s) were added to refs/heads/multilib by this push:
new 6b5b4d4b5 PCRE2: Add m32 and mx32 installation instructions.
6b5b4d4b5 is described below
commit 6b5b4d4b5a8a3e3f5a5fcbc8285abd03c4ed8c59
Author: Zeckmathederg <[email protected]>
AuthorDate: Sun Sep 7 20:52:36 2025 -0600
PCRE2: Add m32 and mx32 installation instructions.
Needed by GLib2, pulled in by other packages.
---
chapter08/pcre.xml | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
diff --git a/chapter08/pcre.xml b/chapter08/pcre.xml
index d937d8f6c..4fe1a965b 100644
--- a/chapter08/pcre.xml
+++ b/chapter08/pcre.xml
@@ -138,6 +138,81 @@
</sect2>
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - 32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_32,ml_all" role="installation">
+ <title>Installation of Pcre2 - 32bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Prepare pcre2 for compilation:</para>
+
+<screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \
+./configure --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --host=i686-pc-linux-gnu \
+ --enable-unicode \
+ --enable-jit \
+ --enable-pcre2-16 \
+ --enable-pcre2-32 \
+ --enable-pcre2grep-libz \
+ --enable-pcre2grep-libbz2 \
+ --enable-pcre2test-libreadline \
+ --disable-static</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/lib32/* /usr/lib32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- m32 -->
+
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - x32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_x32,ml_all" role="installation">
+ <title>Installation of Pcre2 - x32bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Prepare pcre2 for compilation:</para>
+
+<screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \
+./configure --prefix=/usr \
+ --libdir=/usr/libx32 \
+ --host=--host=x86_64-pc-linux-gnux32 \
+ --enable-unicode \
+ --enable-jit \
+ --enable-pcre2-16 \
+ --enable-pcre2-32 \
+ --enable-pcre2grep-libz \
+ --enable-pcre2grep-libbz2 \
+ --enable-pcre2test-libreadline \
+ --disable-static</userinput></screen>
+
+ <para>Compile the package:</para>
+
+ <screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/libx32/* /usr/libx32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- mx32 -->
<sect2 id="contents-pcre2" role="content">
<title>Contents of Pcre2</title>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page