NSPR: Add Possible Parameters. Part of issue #19.

This commit is contained in:
Zeckmathederg 2024-10-11 09:18:56 -06:00
parent 902834bb88
commit d961dcfea2
2 changed files with 112 additions and 35 deletions

View File

@ -42,6 +42,13 @@
<listitem>
<para>October 11th, 2024</para>
<itemizedlist>
<listitem>
<para>
[Zeckmathederg] - NSPR: Add Possible Parameters. Part of issue
<ulink url="https://github.com/Zeckmathederg/glfs/issues/19">#19.
</ulink>
</para>
</listitem>
<listitem>
<para>[Zeckmathederg] - git: 2.46.2 -&gt; 2.47.0.</para>
</listitem>
@ -233,7 +240,7 @@
<listitem>
<para>[Zeckmathederg] - cURL: 8.9.1 -&gt; 8.10.1.</para>
</listitem>
<listitem>
<listitem>
<para>
[Zeckmathederg] - libtasn1: Add Possible Parameters. Part of issue
<ulink url="https://github.com/Zeckmathederg/glfs/issues/19">#19.

View File

@ -75,6 +75,110 @@ make</userinput></screen>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="installation">
<title>32-bit Installation of NSPR</title>
<para>
First clean the directory by running the following command:
</para>
<screen><userinput>make distclean</userinput></screen>
<para>
Install <application>lib32-NSPR</application> by running the following commands:
</para>
<screen><userinput>CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--with-mozilla \
--with-pthreads \
--disable-64bit &amp;&amp;
make</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install
cp -vr DESTDIR/usr/lib32/* /usr/lib32
rm -rf DESTDIR
ldconfig</userinput></screen>
</sect2>
<sect2 role="possible">
<title>Possible Parameters</title>
<para>
<parameter>--disable-option-checking</parameter>: This parameter ignores
incorrect parameters.
</para>
<para>
<parameter>--enable-x32</parameter>: This parameter enables x32-bit
support, not to be confused with 32-bit. Meant for 64-bit systems.
</para>
<para>
<parameter>--enable-64bit</parameter>: This parameter enables 64-bit
support, meant for and needed by 64-bit systems.
</para>
<para>
<parameter>--enable-mdupdate</parameter>: This parameter enables some
compilers' mdupdate feature.
</para>
<para>
<parameter>--enable-cplus</parameter>: This parameter enables some of
the C++ API routines.
</para>
<para>
<parameter>--enable-strip</parameter>: This parameter enables stripping
the built libraries and programs of debug symbols.
</para>
<para>
<parameter>--enable-user-pthreads</parameter>: This parameter enables
the use of pthreads.
</para>
<para>
<parameter>--enable-nspr-threads</parameter>: This parameter enables
building the classic NSPR threads.
</para>
<para>
<parameter>--enable-ipv6</parameter>: This parameter enables building in
ipv6 support.
</para>
<para>
<parameter>--enable-wrap-malloc</parameter>: This parameter enables
wrapping malloc calls (meant to be used when linking via the GNU linker).
</para>
<para>
<parameter>--with-mozilla</parameter>: This option enables building with
Mozilla support.
</para>
<para>
<parameter>--with-ccache=<replaceable>&lt;PATH&gt;</replaceable></parameter>:
This parameter enables compiling with ccache.
</para>
<para>
<parameter>--with-pthreads</parameter>: This parameter uses the system
pthreads library.
</para>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
@ -110,40 +214,6 @@ make</userinput></screen>
</sect2>
<sect2 role="installation">
<title>32-bit Installation of NSPR</title>
<para>
First clean the directory by running the following command:
</para>
<screen><userinput>make distclean</userinput></screen>
<para>
Install <application>lib32-NSPR</application> by running the following commands:
</para>
<screen><userinput>CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--with-mozilla \
--with-pthreads \
--disable-64bit &amp;&amp;
make</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install
cp -vr DESTDIR/usr/lib32/* /usr/lib32
rm -rf DESTDIR
ldconfig</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>