Changeset 3d66e17 for BOOK/final-system
- Timestamp:
- Jan 7, 2014, 5:10:08 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- b1448646
- Parents:
- 07afa1a
- Location:
- BOOK/final-system
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/64/binutils.xml
r07afa1a r3d66e17 116 116 xpointer="xpointer(//*[@os='s'])"/> 117 117 118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"119 href="../common/binutils.xml"120 xpointer="xpointer(//*[@os='t'])"/>121 122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"123 href="../common/binutils.xml"124 xpointer="xpointer(//*[@os='u'])"/>125 126 118 </sect2> 127 119 -
BOOK/final-system/64/gcc.xml
r07afa1a r3d66e17 43 43 href="../common/gcc.xml" 44 44 xpointer="xpointer(//*[@os='fix2'])"/> 45 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"47 href="../common/gcc.xml"48 xpointer="xpointer(//*[@os='d'])"/>49 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"51 href="../common/gcc.xml"52 xpointer="xpointer(//*[@os='e'])"/>53 45 54 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 142 134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 143 135 href="../common/gcc.xml" 144 xpointer="xpointer(//*[@os='z'])"/> 136 xpointer="xpointer(//*[@os='aa'])"/> 137 138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 139 href="../common/gcc.xml" 140 xpointer="xpointer(//*[@os='ab'])"/> 145 141 146 142 </sect2> -
BOOK/final-system/common/binutils.xml
r07afa1a r3d66e17 104 104 <screen os="s"><userinput>make tooldir=/usr install</userinput></screen> 105 105 106 <para os="t">Install the <filename class="headerfile">libiberty</filename> header107 file that is needed by some packages:</para>108 109 <screen os="u"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /usr/include</userinput></screen>110 111 106 </sect2> 112 107 … … 123 118 objdump, 124 119 ranlib, readelf, size, strings, and strip</seg> 125 <seg>lib iberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg>120 <seg>libbfd.[a,so], and libopcodes.[a,so]</seg> 126 121 <seg>/usr/lib/ldscripts</seg> 127 122 </seglistitem> … … 310 305 </varlistentry> 311 306 312 <varlistentry id="libiberty">313 <term><filename class="libraryfile">libiberty</filename></term>314 <listitem>315 <para>Contains routines used by various GNU programs, including316 <command>getopt</command>, <command>obstack</command>,317 <command>strerror</command>, <command>strtol</command>, and318 <command>strtoul</command></para>319 <indexterm zone="ch-system-binutils libiberty">320 <primary sortas="c-libiberty">libiberty</primary>321 </indexterm>322 </listitem>323 </varlistentry>324 325 307 <varlistentry id="libbfd"> 326 308 <term><filename class="libraryfile">libbfd</filename></term> -
BOOK/final-system/common/gcc.xml
r07afa1a r3d66e17 36 36 <screen os="fix2"><userinput>cp -v gcc/Makefile.in{,.orig} 37 37 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 38 39 <para os="d">Apply a <command>sed</command> substitution that will suppress the40 installation of <filename class="libraryfile">libiberty.a</filename>. The41 version of <filename class="libraryfile">libiberty.a</filename> provided by42 Binutils will be used instead:</para>43 44 <screen os="e"><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>45 38 46 39 <para os="f">The GCC documentation recommends building GCC outside of the source … … 61 54 --disable-multilib --disable-libstdcxx-pch \ 62 55 --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \ 63 --enable-checking=release --enable-libstdcxx-time \ 64 --disable-install-libiberty</userinput></screen> 56 --enable-checking=release --enable-libstdcxx-time</userinput></screen> 65 57 66 58 <para os="j">Compile the package:</para> … … 99 91 <screen os="t"><userinput>make install</userinput></screen> 100 92 101 <para os="u">Some packages expect the C preprocessor to be installed in the 93 <para os="u">Install the <filename class="headerfile">libiberty</filename> header 94 file that is needed by some packages:</para> 95 96 <screen os="v"><userinput>cp -v ../gcc-&gcc-version;/include/libiberty.h /usr/include</userinput></screen> 97 98 <para os="w">Some packages expect the C preprocessor to be installed in the 102 99 <filename class="directory">/lib</filename> directory. 103 100 To support those packages, create this symlink:</para> 104 101 105 <screen os=" v"><userinput>ln -sv ../usr/bin/cpp /lib</userinput></screen>106 107 <para os=" w">Many packages use the name <command>cc</command> to call the C102 <screen os="x"><userinput>ln -sv ../usr/bin/cpp /lib</userinput></screen> 103 104 <para os="y">Many packages use the name <command>cc</command> to call the C 108 105 compiler. To satisfy those packages, create a symlink:</para> 109 106 110 <screen os=" x"><userinput>ln -sv gcc /usr/bin/cc</userinput></screen>111 112 <para os=" y">Finally, move a misplaced file:</para>113 114 <screen os=" z"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>107 <screen os="z"><userinput>ln -sv gcc /usr/bin/cc</userinput></screen> 108 109 <para os="aa">Finally, move a misplaced file:</para> 110 111 <screen os="ab"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen> 115 112 116 113 </sect2> … … 127 124 <seg>c++, cc (link to gcc), cpp, g++, gcc, and gcov</seg> 128 125 <seg>libasan.[a,so], libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, 129 libgomp.[a,so], libmudflap.[a,so], libmudflapth.[a,so], libssp.[a,so], 130 libssp_nonshared.a, libstdc++.[a,so], libsupc++.a, and libtsan.[a,so]</seg> 126 libgomp.[a,so], libiberty.a, libmudflap.[a,so], libmudflapth.[a,so], 127 libssp.[a,so], libssp_nonshared.a, libstdc++.[a,so], libsupc++.a, and 128 libtsan.[a,so]</seg> 131 129 <seg>/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;</seg> 132 130 </seglistitem> … … 242 240 </varlistentry> 243 241 242 <varlistentry id="libiberty"> 243 <term><filename class="libraryfile">libiberty</filename></term> 244 <listitem> 245 <para>Contains routines used by various GNU programs, including 246 <command>getopt</command>, <command>obstack</command>, 247 <command>strerror</command>, <command>strtol</command>, and 248 <command>strtoul</command></para> 249 <indexterm zone="ch-system-gcc libiberty"> 250 <primary sortas="c-libiberty">libiberty</primary> 251 </indexterm> 252 </listitem> 253 </varlistentry> 254 244 255 <varlistentry id="libmudflap"> 245 256 <term><filename class="libraryfile">libmudflap</filename></term> -
BOOK/final-system/mips/gcc.xml
r07afa1a r3d66e17 37 37 href="../common/gcc.xml" 38 38 xpointer="xpointer(//*[@os='fix2'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"41 href="../common/gcc.xml"42 xpointer="xpointer(//*[@os='d'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"45 href="../common/gcc.xml"46 xpointer="xpointer(//*[@os='e'])"/>47 39 48 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 138 130 xpointer="xpointer(//*[@os='z'])"/> 139 131 132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 133 href="../common/gcc.xml" 134 xpointer="xpointer(//*[@os='aa'])"/> 135 136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 137 href="../common/gcc.xml" 138 xpointer="xpointer(//*[@os='ab'])"/> 139 140 140 </sect2> 141 141 -
BOOK/final-system/mips64-64/gcc.xml
r07afa1a r3d66e17 43 43 href="../common/gcc.xml" 44 44 xpointer="xpointer(//*[@os='fix2'])"/> 45 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"47 href="../common/gcc.xml"48 xpointer="xpointer(//*[@os='d'])"/>49 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"51 href="../common/gcc.xml"52 xpointer="xpointer(//*[@os='e'])"/>53 45 54 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 144 136 xpointer="xpointer(//*[@os='z'])"/> 145 137 138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 139 href="../common/gcc.xml" 140 xpointer="xpointer(//*[@os='aa'])"/> 141 142 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 143 href="../common/gcc.xml" 144 xpointer="xpointer(//*[@os='ab'])"/> 145 146 146 </sect2> 147 147 -
BOOK/final-system/mips64/binutils.xml
r07afa1a r3d66e17 108 108 xpointer="xpointer(//*[@os='s'])"/> 109 109 110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"111 href="../common/binutils.xml"112 xpointer="xpointer(//*[@os='t'])"/>113 114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"115 href="../common/binutils.xml"116 xpointer="xpointer(//*[@os='u'])"/>117 118 110 </sect2> 119 111 -
BOOK/final-system/mips64/gcc.xml
r07afa1a r3d66e17 40 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 41 41 href="../common/gcc.xml" 42 xpointer="xpointer(//*[@os='d'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"45 href="../common/gcc.xml"46 xpointer="xpointer(//*[@os='e'])"/>47 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"49 href="../common/gcc.xml"50 42 xpointer="xpointer(//*[@os='f'])"/> 51 43 … … 66 58 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch \ 67 59 --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \ 68 --enable-checking=release --enable-libstdcxx-time \ 69 --disable-install-libiberty</userinput></screen> 60 --enable-checking=release --enable-libstdcxx-time</userinput></screen> 70 61 71 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 145 136 mv -v /usr/lib64/*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen> 146 137 138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 139 href="../common/gcc.xml" 140 xpointer="xpointer(//*[@os='aa'])"/> 141 142 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 143 href="../common/gcc.xml" 144 xpointer="xpointer(//*[@os='ab'])"/> 145 147 146 </sect2> 148 147 -
BOOK/final-system/multilib/binutils.xml
r07afa1a r3d66e17 108 108 xpointer="xpointer(//*[@os='s'])"/> 109 109 110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"111 href="../common/binutils.xml"112 xpointer="xpointer(//*[@os='t'])"/>113 114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"115 href="../common/binutils.xml"116 xpointer="xpointer(//*[@os='u'])"/>117 118 110 </sect2> 119 111 -
BOOK/final-system/multilib/gcc.xml
r07afa1a r3d66e17 40 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 41 41 href="../common/gcc.xml" 42 xpointer="xpointer(//*[@os='d'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"45 href="../common/gcc.xml"46 xpointer="xpointer(//*[@os='e'])"/>47 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"49 href="../common/gcc.xml"50 42 xpointer="xpointer(//*[@os='f'])"/> 51 43 … … 66 58 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch \ 67 59 --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \ 68 --enable-checking=release --enable-libstdcxx-time \ 69 --disable-install-libiberty</userinput></screen> 60 --enable-checking=release --enable-libstdcxx-time</userinput></screen> 70 61 71 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 143 134 mv -v /usr/lib64/*gdb.py /usr/share/gdb/auto-load/usr/lib64</userinput></screen> 144 135 136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 137 href="../common/gcc.xml" 138 xpointer="xpointer(//*[@os='aa'])"/> 139 140 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 141 href="../common/gcc.xml" 142 xpointer="xpointer(//*[@os='ab'])"/> 143 145 144 </sect2> 146 145 -
BOOK/final-system/ppc/gcc.xml
r07afa1a r3d66e17 37 37 href="../common/gcc.xml" 38 38 xpointer="xpointer(//*[@os='fix2'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"41 href="../common/gcc.xml"42 xpointer="xpointer(//*[@os='d'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"45 href="../common/gcc.xml"46 xpointer="xpointer(//*[@os='e'])"/>47 39 48 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 136 128 xpointer="xpointer(//*[@os='z'])"/> 137 129 130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 131 href="../common/gcc.xml" 132 xpointer="xpointer(//*[@os='aa'])"/> 133 134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 135 href="../common/gcc.xml" 136 xpointer="xpointer(//*[@os='ab'])"/> 137 138 138 </sect2> 139 139 -
BOOK/final-system/ppc64/gcc.xml
r07afa1a r3d66e17 37 37 href="../common/gcc.xml" 38 38 xpointer="xpointer(//*[@os='fix2'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"41 href="../common/gcc.xml"42 xpointer="xpointer(//*[@os='d'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"45 href="../common/gcc.xml"46 xpointer="xpointer(//*[@os='e'])"/>47 39 48 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 138 130 xpointer="xpointer(//*[@os='z'])"/> 139 131 132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 133 href="../common/gcc.xml" 134 xpointer="xpointer(//*[@os='aa'])"/> 135 136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 137 href="../common/gcc.xml" 138 xpointer="xpointer(//*[@os='ab'])"/> 139 140 140 </sect2> 141 141 -
BOOK/final-system/x86_64-64/binutils.xml
r07afa1a r3d66e17 125 125 xpointer="xpointer(//*[@os='s'])"/> 126 126 127 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"128 href="../common/binutils.xml"129 xpointer="xpointer(//*[@os='t'])"/>130 131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"132 href="../common/binutils.xml"133 xpointer="xpointer(//*[@os='u'])"/>134 135 127 </sect2> 136 128
Note:
See TracChangeset
for help on using the changeset viewer.