- Timestamp:
- 08/11/2015 08:56:26 PM (9 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 1c27a53
- Parents:
- 5c3f304a
- Location:
- chapter05
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
r5c3f304a rf5e821c 44 44 <title>Installation of Glibc</title> 45 45 46 <!-- The enable-obsolete-rpc should handle this just fine.47 <para>In some cases, particularly LFS 7.1, the rpc headers were not48 installed properly. Test to see if they are installed in the host system49 and install if they are not:</para>50 51 <screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then52 su -c 'mkdir -pv /usr/include/rpc'53 su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'54 fi</userinput></screen>55 -->56 <para>Fix a regression in the package that affects 32-bit architectures:</para>57 58 <screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \59 -e '/SSE2/s/^1://' \60 -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>61 62 46 <para>The Glibc documentation recommends building Glibc outside of the source 63 47 directory in a dedicated build directory:</para> … … 65 49 <screen><userinput remap="pre">mkdir -v ../glibc-build 66 50 cd ../glibc-build</userinput></screen> 67 <!--68 <para>Because Glibc no longer supports i386, its developers say to use the69 compiler flag <parameter>-march=i486</parameter> when building it for x8670 machines. There are several ways to accomplish that, but testing shows that71 the flag is best placed inside the build variable <quote>CFLAGS</quote>.72 Instead of overriding completely what Glibc's internal build system uses73 for CFLAGS, append the new flag to the existing contents of CFLAGS by74 making use of the special file <filename>configparms</filename>. The75 -mtune=native flag is also necessary to reset a reasonable value for -mtune76 that is changed when setting -march.</para>77 78 <screen><userinput remap="configure">case `uname -m` in79 i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;80 esac</userinput></screen>81 -->82 51 83 52 <para>Next, prepare Glibc for compilation:</para> -
chapter05/ncurses.xml
r5c3f304a rf5e821c 43 43 <sect2 role="installation"> 44 44 <title>Installation of Ncurses</title> 45 46 <para>First, apply a patch to prevent a build failure47 when building with GCC 5:</para>48 49 <screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen>50 45 51 46 <para>Prepare Ncurses for compilation:</para>
Note:
See TracChangeset
for help on using the changeset viewer.