Changeset ff0f063
- Timestamp:
- 03/29/2013 11:28:04 AM (12 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, 12.2, 12.2-rc1, 7.4, 7.5, 7.6, 7.7, 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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- f93ffe4
- Parents:
- 4e179e7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r4e179e7 rff0f063 40 40 <para>2013-03-29</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[matthew] - Use --disable-install-libiberty to prevent GCC from 44 installing libiberty.a (thanks to Armin K. for the pointer). Retain 45 the existing sed, though, as the flag doesn't work correctly 46 yet.</para> 47 </listitem> 42 48 <listitem> 43 49 <para>[matthew] - Remove the now unnecessary instructions that -
chapter06/gcc.xml
r4e179e7 rff0f063 42 42 <title>Installation of GCC</title> 43 43 44 <para>Apply a <command>sed</command> substitution that will suppress the45 installation of <filename class="libraryfile">libiberty.a</filename>. The46 version of <filename class="libraryfile">libiberty.a</filename> provided by47 Binutils will be used instead:</para>48 49 <screen><userinput remap="pre">sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>50 51 44 <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following 52 45 <command>sed</command> to force the build to use the … … 58 51 esac</userinput></screen> 59 52 53 <para>Workaround a bug so that GCC doesn't install 54 <filename class="libraryfile">libiberty.a</filename>, which is already 55 provided by Binutils:</para> 56 57 <screen><userinput remap="pre">sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen> 58 60 59 <para>Also fix an error in one of the check Makefiles:</para> 61 60 … … 70 69 <para>Prepare GCC for compilation:</para> 71 70 72 <screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/usr \ 73 --libexecdir=/usr/lib \ 74 --enable-shared \ 75 --enable-threads=posix \ 76 --enable-__cxa_atexit \ 77 --enable-clocale=gnu \ 78 --enable-languages=c,c++ \ 79 --disable-multilib \ 80 --disable-bootstrap \ 71 <screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/usr \ 72 --libexecdir=/usr/lib \ 73 --enable-shared \ 74 --enable-threads=posix \ 75 --enable-__cxa_atexit \ 76 --enable-clocale=gnu \ 77 --enable-languages=c,c++ \ 78 --disable-multilib \ 79 --disable-bootstrap \ 80 --disable-install-libiberty \ 81 81 --with-system-zlib</userinput></screen> 82 82 … … 87 87 <variablelist> 88 88 <title>The meaning of the new configure option:</title> 89 90 <varlistentry> 91 <term><parameter>--disable-install-libiberty</parameter></term> 92 <listitem> 93 <para>This prevents GCC from installing its own copy of libiberty, 94 which is already provided by Binutils-&binutils-version;.</para> 95 </listitem> 96 </varlistentry> 89 97 90 98 <varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.