mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-20 19:25:03 +01:00
mips64el: gcc: use lib instead of lib64
This commit is contained in:
parent
caaeaa75c0
commit
687a1b19e8
@ -62,15 +62,11 @@ mv -v gmp-&gmp-version; gmp
|
|||||||
tar -xf ../mpc-&mpc-version;.tar.gz
|
tar -xf ../mpc-&mpc-version;.tar.gz
|
||||||
mv -v mpc-&mpc-version; mpc</userinput></screen>
|
mv -v mpc-&mpc-version; mpc</userinput></screen>
|
||||||
|
|
||||||
<para>On x86_64 hosts, set the default directory name for
|
<para>On 64-bit MIPS hosts, set the default directory name for
|
||||||
64-bit libraries to <quote>lib</quote>:</para>
|
64-bit libraries to <quote>lib</quote>:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">case $(uname -m) in
|
<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
|
||||||
x86_64)
|
-i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
|
||||||
sed -e '/m64=/s/lib64/lib/' \
|
|
||||||
-i.orig gcc/config/i386/t-linux64
|
|
||||||
;;
|
|
||||||
esac</userinput></screen>
|
|
||||||
|
|
||||||
<para>The GCC documentation recommends building GCC
|
<para>The GCC documentation recommends building GCC
|
||||||
in a dedicated build directory:</para>
|
in a dedicated build directory:</para>
|
||||||
@ -159,8 +155,7 @@ cd build</userinput></screen>
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--disable-multilib</parameter></term>
|
<term><parameter>--disable-multilib</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>On x86_64, LFS does not support a multilib configuration.
|
<para>On 64-bit MIPS, LFS does not support a multilib configuration.</para>
|
||||||
This switch is harmless for x86.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -57,15 +57,11 @@ mv -v gmp-&gmp-version; gmp
|
|||||||
tar -xf ../mpc-&mpc-version;.tar.gz
|
tar -xf ../mpc-&mpc-version;.tar.gz
|
||||||
mv -v mpc-&mpc-version; mpc</userinput></screen>
|
mv -v mpc-&mpc-version; mpc</userinput></screen>
|
||||||
|
|
||||||
<para>If building on x86_64, change the default directory name for 64-bit
|
<para>For building on 64-bit MIPS, change the default directory name for
|
||||||
libraries to <quote>lib</quote>:</para>
|
64-bit libraries to <quote>lib</quote>:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">case $(uname -m) in
|
<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
|
||||||
x86_64)
|
-i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
|
||||||
sed -e '/m64=/s/lib64/lib/' \
|
|
||||||
-i.orig gcc/config/i386/t-linux64
|
|
||||||
;;
|
|
||||||
esac</userinput></screen>
|
|
||||||
|
|
||||||
<para>Override the building rule of libgcc and libstdc++ headers, to
|
<para>Override the building rule of libgcc and libstdc++ headers, to
|
||||||
allow building these libraries with POSIX threads support:</para>
|
allow building these libraries with POSIX threads support:</para>
|
||||||
|
@ -54,15 +54,11 @@
|
|||||||
|
|
||||||
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
|
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
|
||||||
-->
|
-->
|
||||||
<para>If building on x86_64, change the default directory name for 64-bit
|
<para>For building on 64-bit MIPS, change the default directory name for
|
||||||
libraries to <quote>lib</quote>:</para>
|
64-bit libraries to <quote>lib</quote>:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">case $(uname -m) in
|
<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
|
||||||
x86_64)
|
-i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
|
||||||
sed -e '/m64=/s/lib64/lib/' \
|
|
||||||
-i.orig gcc/config/i386/t-linux64
|
|
||||||
;;
|
|
||||||
esac</userinput></screen>
|
|
||||||
|
|
||||||
<para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
|
<para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user