|
@@ -43,6 +43,19 @@
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
<title>Installation of Glibc</title>
|
|
<title>Installation of Glibc</title>
|
|
|
|
|
|
|
|
+ <para>In some cases, particularly LFS 7.1, the rpc headers were not
|
|
|
|
+ installed properly. Test to see if they are installed in the host system
|
|
|
|
+ and install if they are not:</para>
|
|
|
|
+
|
|
|
|
+<screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then
|
|
|
|
+ su -c 'mkdir -p /usr/include/rpc'
|
|
|
|
+ su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
|
|
|
|
+fi</userinput></screen>
|
|
|
|
+
|
|
|
|
+ <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
|
|
|
|
+
|
|
|
|
+<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' Makeconfig</userinput></screen>
|
|
|
|
+
|
|
<para>The Glibc documentation recommends building Glibc outside of the source
|
|
<para>The Glibc documentation recommends building Glibc outside of the source
|
|
directory in a dedicated build directory:</para>
|
|
directory in a dedicated build directory:</para>
|
|
|
|
|
|
@@ -63,9 +76,6 @@ cd ../glibc-build</userinput></screen>
|
|
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
|
|
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
|
|
esac</userinput></screen>
|
|
esac</userinput></screen>
|
|
-->
|
|
-->
|
|
- <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para>
|
|
|
|
-
|
|
|
|
-<screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen>
|
|
|
|
|
|
|
|
<para>Next, prepare Glibc for compilation:</para>
|
|
<para>Next, prepare Glibc for compilation:</para>
|
|
|
|
|