Changeset a9aa69f for general/prog
- Timestamp:
- 07/22/2013 09:26:43 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- e7d2812
- Parents:
- a1094d7
- Location:
- general/prog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/gcc.xml
ra1094d7 ra9aa69f 7 7 <!ENTITY gcc-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 8 8 <!ENTITY gcc-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 9 <!ENTITY gcc-md5sum " cc308a0891e778cfda7a151ab8a6e762">10 <!ENTITY gcc-size "8 0MB">11 <!ENTITY gcc-buildsize "~6. 1GB (build, test and install all compilers)">12 <!ENTITY gcc-time " 150SBU (build, test and install all compilers)">9 <!ENTITY gcc-md5sum "3b2386c114cd74185aa3754b58a79304"> 10 <!ENTITY gcc-size "83 MB"> 11 <!ENTITY gcc-buildsize "~6.2 GB (build, test and install all compilers)"> 12 <!ENTITY gcc-time "98 SBU (build, test and install all compilers)"> 13 13 14 14 <!ENTITY gnat-download-http "https://libre.adacore.com/download/"> … … 101 101 dependency when you recompile <application>GCC</application> 102 102 to include Ada. At the AdaCore download page, choose your platform and 103 201 1, then select the file to download. You probably want the x86-linux103 2013, then select the file to download. You probably want the x86-linux 104 104 or x86_64-linux file.</para> 105 105 </note> 106 <!-- Using 2011, because 2012 does not compile GCC-4.7.2 --> 107 <bridgehead renderas="sect3">GNAT GPL 2011 Package Information</bridgehead> 106 <!-- Using 2011, because 2012 does not compile GCC-4.7.2 107 GCC-4.8.1 and gnat 2013 work OK --> 108 <bridgehead renderas="sect3">GNAT GPL 2013 Package Information</bridgehead> 108 109 <itemizedlist spacing="compact"> 109 110 <listitem> … … 121 122 122 123 <para>Before unpacking and changing into the GCC source directory, first 123 unpack the <application>GNAT</application> tarball and change into the 124 newly created directory and install <application>GNAT</application> by 125 running the following command:</para> 126 127 <screen><userinput>make ins-all prefix=<replaceable><Your build directory></replaceable>/gnat</userinput></screen> 128 129 <para>The <application>GNAT</application> compiler can be 130 invoked by executing the <command>gcc</command> binary installed 131 in <filename 132 class='directory'><replaceable><Your build directory></replaceable>/gnat/bin</filename>.</para> 124 unpack the <application>GNAT</application> tarball. You may have to drill 125 down several levels and unpack a second tarball. For example, 126 AdaCore-Download-2013-07-22_0530.tar expands to 127 <filename>x86_64-linux/2013/gnatgpl/gnat-gpl-2013-x86_64-pc-linux-gnu-bin.tar.gz</filename>. 128 Expand this second tarball and change into the newly created directory. 129 Install <application>GNAT</application> by running the following 130 command:</para> 131 132 <screen><userinput>make ins-all prefix=/opt/gnat</userinput></screen> 133 134 <para>The <application>GNAT</application> compiler can be invoked by 135 executing the <command>gcc</command> binary installed in <filename 136 class='directory'>/opt/gnat/bin</filename>.</para> 133 137 134 138 <para>You may now remove the <application>GNAT</application> 135 source directory:</para> 136 137 <screen><userinput>cd .. && 138 rm -rf gnat-2011-*</userinput></screen> 139 source directory if desired.</para> 139 140 140 141 <para>Prepare to compile <application>GCC</application> by placing the 141 142 <application>GNAT</application> version of <command>gcc</command> at the 142 143 beginning of the <envar>PATH</envar> variable by using the following 143 commands :</para>144 commands as the <systemitem class="username">root</systemitem> user:</para> 144 145 145 146 <screen><userinput>PATH_HOLD=$PATH && 146 export PATH= <replaceable><Your build directory></replaceable>/gnat/bin:$PATH_HOLD</userinput></screen>147 export PATH=/opt/gnat/bin:$PATH_HOLD</userinput></screen> 147 148 148 149 <para>Doing so has the drawback that the <application>GCC</application> … … 155 156 are used all along. In order to use the LFS tools, issue:</para> 156 157 157 <screen><userinput>find <replaceable><Your build directory></replaceable>/gnat -name ld -exec mv -v \{\} \{\}.old \;158 find <replaceable><Your build directory></replaceable>/gnat -name as -exec mv -v \{\} \{\}.old \;</userinput></screen>158 <screen><userinput>find /opt/gnat -name ld -exec mv -v {} {}.old \; 159 find /opt/gnat -name as -exec mv -v {} {}.old \;</userinput></screen> 159 160 160 161 </sect2> … … 188 189 <para>The instructions below let the build machinery perform a 189 190 <quote>bootstrap</quote> intentionally. This is necessary if you 190 install the <application>A DA</application> compiler anyway. Even191 install the <application>Ada</application> compiler anyway. Even 191 192 if you don't, a bootstrap is recommended for robustness.</para> 192 193 193 <screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in &&194 sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in &&195 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in&&196 sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in&&194 <screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in && 195 sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in && 196 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in && 197 sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in && 197 198 198 199 case `uname -m` in … … 216 217 --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ && 217 218 218 make && 219 make -k check && 219 make && 220 ulimit -s 32768 && 221 make -k check && 220 222 221 223 ../gcc-&gcc-version;/contrib/test_summary</userinput></screen> … … 226 228 227 229 ln -v -sf ../usr/bin/cpp /lib && 228 ln -v -sf gcc /usr/bin/cc &&230 ln -v -sf gcc /usr/bin/cc && 229 231 230 232 chown -v -R root:root \ … … 240 242 <screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>--> 241 243 242 <para>You should now become the unprivileged user and remove the 243 <application>GNAT</application> installation and perform other 244 cleanups:</para> 245 246 <screen><userinput>rm -rf <replaceable><Your build directory></replaceable>/gnat && 244 <para>You should now remove the <application>GNAT</application> 245 installation and perform other cleanups:</para> 246 247 <screen><userinput>rm -rf /opt/gnat && 247 248 export PATH=$PATH_HOLD && 248 249 unset PATH_HOLD</userinput></screen> … … 286 287 This command identifies which languages to build. You may modify 287 288 this command to remove undesired languages.</para> 289 290 <para><command>ulimit -s 32768</command>: This command prevents several 291 tests from running out of stack space.</para> 288 292 289 293 <para><command>make -k check</command>: This command runs the test suite -
general/prog/openjdk.xml
ra1094d7 ra9aa69f 47 47 ]> 48 48 49 <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version; ">49 <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;/IcedTea-&icedtea-version;"> 50 50 <?dbhtml filename="openjdk.html" ?> 51 51
Note:
See TracChangeset
for help on using the changeset viewer.