mirror of
https://github.com/Poltern/lfs-ru.git
synced 2024-10-19 04:00:34 +03:00
Added multilib support in libffi, libtool, libxcrypt
This commit is contained in:
parent
85d0a390ad
commit
69b0783485
@ -93,6 +93,78 @@
|
||||
|
||||
</sect2>
|
||||
|
||||
<!-- - - - - - - - - - -->
|
||||
<!-- Multilib - 32bit -->
|
||||
<!-- - - - - - - - - - -->
|
||||
|
||||
<sect2 arch="ml_32,ml_all" role="installation">
|
||||
<title>Установка Libffi - 32-битная версия</title>
|
||||
|
||||
<para>Выполните очистку после предыдущей сборки:</para>
|
||||
|
||||
<screen><userinput remap="pre">make distclean</userinput></screen>
|
||||
|
||||
<para>Подготовьте Libffi к компиляции:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" ./configure \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--disable-static \
|
||||
--with-gcc-arch=i686</userinput></screen>
|
||||
|
||||
<para>Скомпилируйте пакет:</para>
|
||||
|
||||
<screen><userinput remap="make">make</userinput></screen>
|
||||
|
||||
<para>Чтобы протестировать пакет, выполните:</para>
|
||||
|
||||
<screen><userinput remap="test">make check</userinput></screen>
|
||||
|
||||
<para>Установите пакет:</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>Установка Libffi - mx32</title>
|
||||
|
||||
<para>Выполните очистку после предыдущей сборки:</para>
|
||||
|
||||
<screen><userinput remap="pre">make distclean</userinput></screen>
|
||||
|
||||
<para>Подготовьте Libffi к компиляции:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" ./configure \
|
||||
--host=x86_64-unknown-linux-gnux32 \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/libx32 \
|
||||
--disable-static \
|
||||
--with-gcc-arch=x86_64</userinput></screen>
|
||||
|
||||
<para>Скомпилируйте пакет:</para>
|
||||
|
||||
<screen><userinput remap="make">make</userinput></screen>
|
||||
|
||||
<para>Чтобы протестировать пакет, выполните:</para>
|
||||
|
||||
<screen><userinput remap="test">make check</userinput></screen>
|
||||
|
||||
<para>Установите пакет:</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-libffi" role="content">
|
||||
<title>Содержимое пакета Libffi</title>
|
||||
|
||||
|
@ -77,6 +77,65 @@
|
||||
|
||||
</sect2>
|
||||
|
||||
<!-- - - - - - - - - - -->
|
||||
<!-- Multilib - 32bit -->
|
||||
<!-- - - - - - - - - - -->
|
||||
|
||||
<sect2 arch="ml_32,ml_all" role="installation">
|
||||
<title>Установка Libtool - 32-битная версия</title>
|
||||
|
||||
<para>Выполните очистку после предыдущей сборки:</para>
|
||||
|
||||
<screen><userinput remap="pre">make distclean</userinput></screen>
|
||||
|
||||
<para>Подготовьте Libtool к компиляции:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC="gcc -m32" ./configure \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32</userinput></screen>
|
||||
|
||||
<para>Скомпилируйте пакет:</para>
|
||||
|
||||
<screen><userinput remap="make">make</userinput></screen>
|
||||
|
||||
<para>Установите пакет:</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>Установка Libtool - mx32</title>
|
||||
|
||||
<para>Выполните очистку после предыдущей сборки:</para>
|
||||
|
||||
<screen><userinput remap="pre">make distclean</userinput></screen>
|
||||
|
||||
<para>Подготовьте Libtool к компиляции:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
|
||||
--host=x86_64-pc-linux-gnux32 \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/libx32</userinput></screen>
|
||||
|
||||
<para>Скомпилируйте пакет:</para>
|
||||
|
||||
<screen><userinput remap="make">make</userinput></screen>
|
||||
|
||||
<para>Установите пакет:</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-libtool" role="content">
|
||||
<title>Содержимое пакета Libtool</title>
|
||||
|
@ -114,6 +114,72 @@ cp -av .libs/libcrypt.so.1* /usr/lib</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<!-- - - - - - - - - - -->
|
||||
<!-- Multilib - 32bit -->
|
||||
<!-- - - - - - - - - - -->
|
||||
<sect2 arch="ml_32,ml_all" role="installation">
|
||||
<title>Установка Libxcrypt - 32-битная версия</title>
|
||||
|
||||
<para>Выполните очистку после предыдущей сборки:</para>
|
||||
|
||||
<screen><userinput remap="pre">make distclean</userinput></screen>
|
||||
|
||||
<para>Подготовьте Libxcrypt к компиляции:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC="gcc -m32" \
|
||||
./configure --prefix=/usr \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--libdir=/usr/lib32 \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-static \
|
||||
--disable-failure-tokens</userinput></screen>
|
||||
|
||||
<para>Скомпилируйте пакет:</para>
|
||||
|
||||
<screen><userinput remap="make">make</userinput></screen>
|
||||
|
||||
<para>Установите пакет:</para>
|
||||
|
||||
<screen><userinput remap="install">cp -av .libs/libcrypt.so* /usr/lib32/ &&
|
||||
make install-pkgconfigDATA &&
|
||||
ln -svf libxcrypt.pc /usr/lib32/pkgconfig/libcrypt.pc</userinput></screen>
|
||||
|
||||
</sect2><!-- m32 -->
|
||||
|
||||
<!-- - - - - - - - - - -->
|
||||
<!-- Multilib - x32bit -->
|
||||
<!-- - - - - - - - - - -->
|
||||
<sect2 arch="ml_x32,ml_all" role="installation">
|
||||
<title>Установка Libxcrypt - mx32</title>
|
||||
|
||||
<para>Выполните очистку после предыдущей сборки:</para>
|
||||
|
||||
<screen><userinput remap="pre">make distclean</userinput></screen>
|
||||
|
||||
<para>Подготовьте Libxcrypt к компиляции:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC="gcc -mx32" \
|
||||
./configure --prefix=/usr \
|
||||
--host=x86_64-pc-linux-gnux32 \
|
||||
--libdir=/usr/libx32 \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-static \
|
||||
--disable-failure-tokens</userinput></screen>
|
||||
|
||||
<para>Скомпилируйте пакет:</para>
|
||||
|
||||
<screen><userinput remap="make">make</userinput></screen>
|
||||
|
||||
<para>Установите пакет:</para>
|
||||
|
||||
<screen><userinput remap="install">cp -av .libs/libcrypt.so* /usr/libx32/ &&
|
||||
make install-pkgconfigDATA &&
|
||||
ln -svf libxcrypt.pc /usr/libx32/pkgconfig/libcrypt.pc</userinput></screen>
|
||||
|
||||
</sect2><!-- mx32 -->
|
||||
|
||||
<sect2 id="contents-libxcrypt" role="content">
|
||||
<title>Содержимое пакета Libxcrypt</title>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user