- Timestamp:
- 05/06/2016 09:16:07 PM (8 years ago)
- Children:
- 81d7190a
- Parents:
- ed17c23
- Location:
- chapter06
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils.xml
red17c23 r9d5d854f 58 58 Ask your system administrator to create more.</computeroutput></screen> 59 59 60 <para>Fix a problemidentified upstream:</para>60 <para>Fix some problems identified upstream:</para> 61 61 62 62 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen> … … 107 107 <para>Test the results:</para> 108 108 109 <screen><userinput remap="test">make check</userinput></screen>109 <screen><userinput remap="test">make -k check</userinput></screen> 110 110 111 111 <para> The test 'Link with zlib-gabi compressed debug output' is known to fail.</para> -
chapter06/gcc.xml
red17c23 r9d5d854f 42 42 <title>Installation of GCC</title> 43 43 44 <!-- <para>First apply some fixes from the upstream repository:</para>45 46 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen> -->47 48 44 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para> 49 45 … … 124 120 <screen><userinput remap="install">make install</userinput></screen> 125 121 126 <para> Some packages expect the C preprocessor to be installed in the127 <filename class="directory">/lib</filename> directory.128 To support those packages, create this symlink:</para>122 <para>Create a symlink required by the <ulink 123 url="http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink> 124 for "historical" reasons.</para> 129 125 130 126 <screen><userinput remap="install">ln -sv ../usr/bin/cpp /lib</userinput></screen> -
chapter06/glibc.xml
red17c23 r9d5d854f 69 69 70 70 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 71 72 <para>Fix some problems identified upstream:</para> 73 74 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen> 75 71 76 <para>The Glibc build system is self-contained and will install 72 77 perfectly, even though the compiler specs file and linker are still -
chapter06/gzip.xml
red17c23 r9d5d854f 44 44 <para>Prepare Gzip for compilation:</para> 45 45 46 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 47 47 48 48 <para>Compile the package:</para> -
chapter06/pkgconfig.xml
red17c23 r9d5d854f 47 47 <screen><userinput remap="configure">./configure --prefix=/usr \ 48 48 --with-internal-glib \ 49 --disable-compile-warnings \ 49 50 --disable-host-tool \ 50 51 --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen> … … 58 59 <para>This will allow pkg-config to use its internal version of 59 60 Glib because an external version is not available in LFS.</para> 61 </listitem> 62 </varlistentry> 63 64 <varlistentry> 65 <term><parameter>--disable-compile-warnings</parameter></term> 66 <listitem> 67 <para>This option prevents the build system from using 68 compiler flags which cause build failure when building 69 with GCC 6.</para> 60 70 </listitem> 61 71 </varlistentry> -
chapter06/texinfo.xml
red17c23 r9d5d854f 45 45 46 46 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen> 47 48 <variablelist> 49 <title>The meaning of the configure options:</title> 50 51 <varlistentry> 52 <term><parameter>--disable-static</parameter></term> 53 <listitem> 54 <para>In this case, the top-level configure script will complain that 55 this is an unrecognized option, but the configure script for 56 XSParagraph recognizes it and uses it to disable installing a static 57 <filename class="libraryfile">XSParagraph.a</filename> to <filename 58 class="directory">/usr/lib/texinfo</filename>.</para> 59 </listitem> 60 </varlistentry> 61 62 </variablelist> 47 63 48 64 <para>Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.