diff options
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r-- | chapter05/glibc.xml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 53d3d5713..05607b344 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -43,18 +43,6 @@ <sect2 role="installation"> <title>Installation of Glibc</title> - <para>Address a header check that fails due to an incomplete build - environment at this point:</para> - - <screen><userinput remap="pre">sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure</userinput></screen> - - <para>Fix a path that is hardcoded:</para> - - <screen><userinput remap="pre">sed -i 's#/var/db#/tools/var/db#' Makeconfig</userinput></screen> - - <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para> -<screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen> - <para>The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory:</para> @@ -75,6 +63,10 @@ cd ../glibc-build</userinput></screen> i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; 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> <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ |