Changeset 3d66e17 for BOOK/final-system/common
- 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/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note:
See TracChangeset
for help on using the changeset viewer.