|
@@ -46,6 +46,89 @@ ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib
|
|
|
sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
|
|
|
ln -sv bash /bin/sh</userinput></screen>
|
|
|
|
|
|
+ <variablelist>
|
|
|
+ <title>The purpose of each link:</title>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/bin/bash</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Many <command>bash</command> scripts specify
|
|
|
+ <filename>/bin/bash</filename>.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/bin/cat</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>This pathname is hard-coded into Glibc's configure script.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/bin/echo</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>This is to satisfy one of the tests in Glibc's test suite, which
|
|
|
+ expects <filename>/bin/echo</filename>.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/bin/pwd</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Some <command>configure</command> scripts, particularly Glibc's,
|
|
|
+ have this pathname hard-coded.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/bin/stty</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>This pathname is hard-coded into Expect, therefore it is needed
|
|
|
+ for Binutils and GCC test suites to pass.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/usr/bin/perl</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Many Perl scripts hard-code this path to the
|
|
|
+ <command>perl</command> program.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/usr/lib/libgcc_s.so{,.1}</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Glibc needs this for the pthreads library to work.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/usr/lib/libstdc++{,.6}</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>This is needed by several tests in Glibc's test suite, as well as
|
|
|
+ for C++ support in GMP.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/usr/lib/libstdc++.la</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>This prevents a <filename class="directory">/tools</filename>
|
|
|
+ reference that would otherwise be in
|
|
|
+ <filename>/usr/lib/libstdc++.la</filename> after GCC is installed.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter><filename>/bin/sh</filename></parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Many shell scripts hard-code <filename>/bin/sh</filename>.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ </variablelist>
|
|
|
+
|
|
|
<para>Historically, Linux maintains a list of the mounted file systems in the
|
|
|
file <filename>/etc/mtab</filename>. Modern kernels maintain this list
|
|
|
internally and exposes it to the user via the <filename
|