Changeset 58bd309a for general/prog/gcc2
- Timestamp:
- 09/26/2003 03:06:17 AM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 78ccf136
- Parents:
- 681ad68
- Location:
- general/prog/gcc2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/gcc2/gcc2-config.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Configuring gcc</title>2 <title>Configuring <application><acronym>GCC</acronym></application></title> 3 3 4 4 <sect3><title>Configuration Information</title> … … 7 7 8 8 <para>The instructions given above make compatibility symlinks that pre-compiled 9 packages in BLFS require. You may create additional compatibility links based on10 your requirements.</para>9 packages in <acronym>BLFS</acronym> require. You may create additional 10 compatibility links based on your requirements.</para> 11 11 12 <para>If you only need the gcc-&gcc2-version; libraries, you may delete12 <para>If you only need the GCC-&gcc2-version; libraries, you may delete 13 13 <filename>/opt/gcc-&gcc2-version;</filename>.</para> 14 14 15 <para>Whenever you need to use gcc-&gcc2-version; instead of you system installed compiler,16 add <filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the front of your 17 < envar>PATH</envar> or (preferably) set the <envar>CC</envar> environment variable before compiling the concerned18 package.</para>15 <para>Whenever you need to use GCC-&gcc2-version; instead of you system 16 installed compiler, add 17 <filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar> 18 environment variable before compiling the concerned package.</para> 19 19 20 20 </sect3> -
general/prog/gcc2/gcc2-desc.xml
r681ad68 r58bd309a 2 2 <title>Contents</title> 3 3 4 <para>The gcc-&gcc2-version; package contains the5 < userinput>gcc-&gcc2-version; C and C++ compilers</userinput>6 and <userinput>gcc-&gcc2-version;7 libstdc++.so</userinput> that is required by some commercial and pre-compiled 8 p ackages.</para>4 <para>The GCC-&gcc2-version; package contains the 5 <command>gcc</command>-&gcc2-version; <application>C</application> and 6 <application>C++</application> compilers and GCC-&gcc2-version; 7 <filename>libstdc++.so</filename> that is required by some commercial and 8 pre-compiled packages.</para> 9 9 10 10 </sect2> -
general/prog/gcc2/gcc2-inst.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Installation of gcc</title>2 <title>Installation of <application><acronym>GCC</acronym></application></title> 3 3 4 4 <para>Apply the patches:</para> 5 5 6 < para><screen><userinput>patch -Np1 -i ../gcc-&gcc2-version;-2.patch &&6 <screen><userinput><command>patch -Np1 -i ../gcc-&gcc2-version;-2.patch && 7 7 patch -Np1 -i ../gcc-&gcc2-version;-no-fixinc.patch && 8 patch -Np1 -i ../gcc-&gcc2-version;-returntype-fix.patch</ userinput></screen></para>8 patch -Np1 -i ../gcc-&gcc2-version;-returntype-fix.patch</command></userinput></screen> 9 9 10 <para>The gcc development team recommends building in a separate directory.</para> 10 <para>The <acronym>GCC</acronym> development team recommends building in a 11 separate directory.</para> 11 12 12 < para><screen><userinput>mkdir ../gcc-build &&13 cd ../gcc-build</ userinput></screen></para>13 <screen><userinput><command>mkdir ../gcc-build && 14 cd ../gcc-build</command></userinput></screen> 14 15 15 <para>Configure gcc to build the C and C++ compilers and enable the related C++ 16 options.</para> 17 <para><screen><userinput>../gcc-&gcc2-version;/configure \ 16 <para>Configure <acronym>GCC</acronym> to build the 17 <application>C</application> and <application>C++</application> compilers and 18 enable the related <application>C++</application> options.</para> 19 <screen><userinput><command>../gcc-&gcc2-version;/configure \ 18 20 --prefix=/opt/gcc-&gcc2-version; \ 19 21 --enable-shared --enable-languages=c,c++ \ 20 --enable-threads=posix</ userinput></screen></para>22 --enable-threads=posix</command></userinput></screen> 21 23 22 <para>Compile and install gcc:</para>23 < para><screen><userinput>make bootstrap &&24 make install</ userinput></screen></para>24 <para>Compile and install <acronym>GCC</acronym>:</para> 25 <screen><userinput><command>make bootstrap && 26 make install</command></userinput></screen> 25 27 26 28 <para>Make note of the library that is installed.</para> 27 < para><screen><userinput>L=`find /opt/gcc-&gcc2-version;/lib -name "*libstdc++*.so" -type f` &&28 IL=`basename $L`</ userinput></screen></para>29 <screen><userinput><command>L=`find /opt/gcc-&gcc2-version;/lib -name "*libstdc++*.so" -type f` && 30 IL=`basename $L`</command></userinput></screen> 29 31 30 <para>Move the C++ libraries to the standard lib directory to avoid having to31 add <filename>/opt/gcc-&gcc2-version;/lib</filename> to 32 < filename>/etc/ld.so.conf</filename>.</para>32 <para>Move the <application>C++</application> libraries to the standard lib 33 directory to avoid having to add <filename>/opt/gcc-&gcc2-version;/lib 34 </filename> to <filename>/etc/ld.so.conf</filename>.</para> 33 35 34 < para><screen><userinput>for i in /opt/gcc-&gcc2-version;/lib/*.so*; do mv -f $i /usr/lib;35 ln -sf /usr/lib/`basename $i` /opt/gcc-&gcc2-version;/lib; done</ userinput></screen></para>36 <screen><userinput><command>for i in /opt/gcc-&gcc2-version;/lib/*.so*; do mv -f $i /usr/lib; 37 ln -sf /usr/lib/`basename $i` /opt/gcc-&gcc2-version;/lib; done</command></userinput></screen> 36 38 37 39 <para>Create symlinks required by commercial and precompiled packages.</para> 38 < para><screen><userinput>ln -sf $IL /usr/lib/libstdc++-libc6.1-1.so.2 &&40 <screen><userinput><command>ln -sf $IL /usr/lib/libstdc++-libc6.1-1.so.2 && 39 41 ln -sf $IL /usr/lib/libstdc++-libc6.2-2.so.3 && 40 ln -sf $IL /usr/lib/libstdc++-libc6.3-2.so.3</ userinput></screen></para>42 ln -sf $IL /usr/lib/libstdc++-libc6.3-2.so.3</command></userinput></screen> 41 43 42 44 </sect2> -
general/prog/gcc2/gcc2-intro.xml
r681ad68 r58bd309a 1 1 <sect2> 2 <title>Introduction to gcc-&gcc2-version;</title>2 <title>Introduction to <application><acronym>GCC</acronym></application>-&gcc2-version;</title> 3 3 4 <screen>Download location (FTP): <ulink url="&gcc2-download-ftp;"/>5 Version used: &gcc2-version;6 Package size: &gcc2-size;7 Estimated Disk space required: &gcc2-buildsize;</screen>8 4 9 <para>There are two reasons for installing gcc-&gcc2-version;. The first is that the kernel 10 developers have certified gcc-&gcc2-version; as the preferred compiler for compiling the 11 kernel. The other (and more compelling reason) is that some 12 commercial closed-source packages (such as Netscape Navigator, Yahoo Pager) 13 and precompiled packages (such as Mozilla) 14 are linked against gcc-&gcc2-version; libs.</para> 5 <para>There are two reasons for installing 6 <acronym>GCC</acronym>-&gcc2-version;. The first is that the kernel 7 developers have certified <acronym>GCC</acronym>-&gcc2-version; as the 8 preferred compiler for compiling the kernel. The other (and more compelling 9 reason) is that some commercial closed-source packages (such as Netscape 10 Navigator, Yahoo Pager) and precompiled packages (such as Mozilla) 11 are linked against <acronym>GCC</acronym>-&gcc2-version; libs.</para> 15 12 16 <para>Download the gcc patches from <ulink url="&hfile-root;"/>. 17 </para> 13 <sect3><title>Package information</title> 14 <itemizedlist spacing='compact'> 15 <listitem><para>Download (HTTP): <ulink 16 url="&gcc2-download-http;"/></para></listitem> 17 <listitem><para>Download (FTP): <ulink 18 url="&gcc2-download-ftp;"/></para></listitem> 19 <listitem><para>Download size: &gcc2-size;</para></listitem> 20 <listitem><para>Estimated Disk space required: 21 &gcc2-buildsize;</para></listitem> 22 <listitem><para>Estimated build time: 23 &gcc2-time;</para></listitem></itemizedlist> 24 </sect3> 25 26 <sect3><title>Additional downloads</title> 27 <itemizedlist spacing='compact'> 28 <listitem><para>Required patches: 29 <ulink url="&hfile-root;"/></para></listitem></itemizedlist> 30 </sect3> 31 18 32 19 33 </sect2> -
general/prog/gcc2/gcc2.ent
r681ad68 r58bd309a 9 9 <!ENTITY gcc2-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc2-version;.tar.gz"> 10 10 <!ENTITY gcc2-size "7 MB"> 11 <!ENTITY gcc2-time "">
Note:
See TracChangeset
for help on using the changeset viewer.