Changeset c230e05
- Timestamp:
- 06/24/2004 04:39:00 PM (20 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 014d11ad
- Parents:
- 6e01eced
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r6e01eced rc230e05 1 <!ENTITY day "2 3">1 <!ENTITY day "24"> 2 2 <!ENTITY month "06"> 3 3 <!ENTITY year "2004"> 4 4 <!ENTITY version "cvs-&year;&month;&day;"> 5 <!ENTITY releasedate "June &day; rd, &year;">5 <!ENTITY releasedate "June &day;th, &year;"> 6 6 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 7 7 <!ENTITY blfs-version "cvs"> <!-- cvs|[release #] --> -
general/prog/gcc2.xml
r6e01eced rc230e05 18 18 <sect2> 19 19 <title>Introduction to <application><acronym>GCC</acronym></application>-&gcc2-version;</title> 20 21 20 22 21 <para>There are two reasons for installing 23 22 <acronym>GCC</acronym>-&gcc2-version;. The first is that the kernel … … 27 26 Navigator, Yahoo Pager) and precompiled packages (such as Mozilla) 28 27 are linked against <acronym>GCC</acronym>-&gcc2-version; libs.</para> 29 28 30 29 <sect3><title>Package information</title> 31 30 <itemizedlist spacing='compact'> … … 40 39 &gcc2-time;</para></listitem></itemizedlist> 41 40 </sect3> 42 41 43 42 <sect3><title>Additional downloads</title> 44 43 <itemizedlist spacing='compact'> 45 44 <listitem><para><ulink url="&patch-root;/gcc-2.95.3-2.patch"/></para></listitem> 46 <listitem><para><ulink url="&patch-root;/gcc-2.95.3-no -fixinc.patch"/></para></listitem>47 <listitem><para><ulink url="&patch-root;/gcc-2.95.3-returntype -fix.patch"/></para></listitem>45 <listitem><para><ulink url="&patch-root;/gcc-2.95.3-no_fixinc-1.patch"/></para></listitem> 46 <listitem><para><ulink url="&patch-root;/gcc-2.95.3-returntype_fix-1.patch"/></para></listitem> 48 47 </itemizedlist> 49 48 </sect3> … … 52 51 53 52 <sect2> 53 <title>Installation of <application><acronym>GCC</acronym></application></title> 54 55 <para>Apply the patches:</para> 56 57 <screen><userinput><command>patch -Np1 -i ../gcc-&gcc2-version;-2.patch && 58 patch -Np1 -i ../gcc-&gcc2-version;-no_fixinc-1.patch && 59 patch -Np1 -i ../gcc-&gcc2-version;-returntype_fix-1.patch</command></userinput></screen> 60 61 <para>The <acronym>GCC</acronym> development team recommends building in a 62 separate directory.</para> 63 64 <screen><userinput><command>mkdir ../gcc-build && 65 cd ../gcc-build</command></userinput></screen> 66 67 <para>Configure <acronym>GCC</acronym> to build the 68 <application>C</application> and <application>C++</application> compilers and 69 enable the related <application>C++</application> options.</para> 70 71 <screen><userinput><command>../gcc-&gcc2-version;/configure \ 72 --prefix=/opt/gcc-&gcc2-version; \ 73 --enable-shared --enable-languages=c,c++ \ 74 --enable-threads=posix</command></userinput></screen> 75 76 <para>Compile and install <acronym>GCC</acronym>:</para> 77 78 <screen><userinput><command>make bootstrap && 79 make install</command></userinput></screen> 80 81 <para>Make note of the library that is installed.</para> 82 83 <screen><userinput><command>L=`find /opt/gcc-&gcc2-version;/lib -name "*libstdc++*.so" -type f` && 84 IL=`basename $L`</command></userinput></screen> 85 86 <para>Move the <application>C++</application> libraries to the standard lib 87 directory to avoid having to add <userinput>/opt/gcc-&gcc2-version;/lib 88 </userinput> to <filename>/etc/ld.so.conf</filename>.</para> 89 90 <screen><userinput><command>for i in /opt/gcc-&gcc2-version;/lib/*.so*; do mv -f $i /usr/lib; 91 ln -sf /usr/lib/`basename $i` /opt/gcc-&gcc2-version;/lib; done</command></userinput></screen> 92 93 <para>Create symlinks required by commercial and precompiled packages.</para> 94 95 <screen><userinput><command>ln -sf $IL /usr/lib/libstdc++-libc6.1-1.so.2 && 96 ln -sf $IL /usr/lib/libstdc++-libc6.2-2.so.3 && 97 ln -sf $IL /usr/lib/libstdc++-libc6.3-2.so.3</command></userinput></screen> 98 99 </sect2> 100 101 <sect2> 54 102 <title>Configuring <application><acronym>GCC</acronym></application></title> 55 103 56 104 <sect3><title>Configuration Information</title> 57 105 58 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/> 59 107 60 108 <para>The instructions given above make compatibility symlinks that pre-compiled 61 109 packages in <acronym>BLFS</acronym> require. You may create additional 62 110 compatibility links based on your requirements.</para> 63 111 64 112 <para>If you only need the GCC-&gcc2-version; libraries, you may delete 65 113 <filename>/opt/gcc-&gcc2-version;</filename>.</para> 66 114 67 115 <para>Whenever you need to use GCC-&gcc2-version; instead of your system 68 116 installed compiler, add 69 <filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar> 117 <filename class="directory">/opt/gcc-&gcc2-version;/bin</filename> to the 118 front of your <envar>PATH</envar> or (preferably) set the <envar>CC</envar> 70 119 environment variable before compiling the concerned package.</para> 71 120 72 121 </sect3> 73 122 74 123 </sect2> 75 124 76 125 <sect2> 77 126 <title>Contents</title> 78 127 79 128 <para>The GCC-&gcc2-version; package contains the 80 129 <command>gcc</command>-&gcc2-version; <application>C</application> and … … 82 131 <filename>libstdc++.so</filename> that is required by some commercial and 83 132 pre-compiled packages.</para> 84 133 85 134 </sect2> 86 135 -
introduction/welcome/changelog.xml
r6e01eced rc230e05 18 18 19 19 <itemizedlist> 20 21 <listitem><para>June 24th, 2004 [randy]: Fixed gcc-2.95.3 instructions.</para></listitem> 20 22 21 23 <listitem><para>June 23rd, 2004 [bdubbs]: Updated to mozilla 1.7.</para></listitem>
Note:
See TracChangeset
for help on using the changeset viewer.