<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>https://kuutorvaja.eenet.ee/w/index.php?action=history&amp;feed=atom&amp;title=GCC-4.5.2_-_Faas_1</id>
	<title>GCC-4.5.2 - Faas 1 - Redigeerimiste ajalugu</title>
	<link rel="self" type="application/atom+xml" href="https://kuutorvaja.eenet.ee/w/index.php?action=history&amp;feed=atom&amp;title=GCC-4.5.2_-_Faas_1"/>
	<link rel="alternate" type="text/html" href="https://kuutorvaja.eenet.ee/w/index.php?title=GCC-4.5.2_-_Faas_1&amp;action=history"/>
	<updated>2026-06-04T01:07:29Z</updated>
	<subtitle>Selle lehekülje redigeerimiste ajalugu</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://kuutorvaja.eenet.ee/w/index.php?title=GCC-4.5.2_-_Faas_1&amp;diff=24461&amp;oldid=prev</id>
		<title>Jj – 1. juuni 2011, kell 12:40</title>
		<link rel="alternate" type="text/html" href="https://kuutorvaja.eenet.ee/w/index.php?title=GCC-4.5.2_-_Faas_1&amp;diff=24461&amp;oldid=prev"/>
		<updated>2011-06-01T12:40:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;et&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Vanem redaktsioon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Redaktsioon: 1. juuni 2011, kell 12:40&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;11. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;11. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GCC now requires the GMP, MPFR and MPC packages. As these packages may not be included in your host distribution, they will be built with GCC. Unpack each package into the GCC source directory and rename the resulting directories so the GCC build procedures will automatically use them:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GCC now requires the GMP, MPFR and MPC packages. As these packages may not be included in your host distribution, they will be built with GCC. Unpack each package into the GCC source directory and rename the resulting directories so the GCC build procedures will automatically use them:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GCC vajab GMP, MPFR ja MPC pakette. Kuna &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;need &lt;/del&gt;paketid pole vaikimisi kaasas &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;baas distributsiooniga&lt;/del&gt;, tuleb nad &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kompileerida &lt;/del&gt;koos GCC&#039;ga. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Pakime iga paketi eraldi &lt;/del&gt;GCC algkoodi kausta lahti ja nimetame &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nad  &lt;/del&gt;ümber, et GCC ehitamise protseduurid saaksid neid automaatselt kasutada&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GCC vajab &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;enda tööks &lt;/ins&gt;GMP, MPFR ja MPC pakette. Kuna &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nimetatud &lt;/ins&gt;paketid pole &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;baas distributsiooniga &lt;/ins&gt;vaikimisi kaasas, tuleb nad &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;paigaldada &lt;/ins&gt;koos GCC&#039;ga. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Selleks pakime nad järgnevalt &lt;/ins&gt;GCC algkoodi kausta lahti ja nimetame ümber, et GCC ehitamise protseduurid saaksid neid automaatselt kasutada&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  tar -jxf ../mpfr-3.0.0.tar.bz2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  tar -jxf ../mpfr-3.0.0.tar.bz2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jj</name></author>
	</entry>
	<entry>
		<id>https://kuutorvaja.eenet.ee/w/index.php?title=GCC-4.5.2_-_Faas_1&amp;diff=24460&amp;oldid=prev</id>
		<title>Jj: Uus lehekülg: &#039;The GCC package contains the GNU compiler collection, which includes the C and C++ compilers.  GCC pakett sisaldab GNU kompilaatorite kollektsiooni.    Approximate build time: 5.0 S...&#039;</title>
		<link rel="alternate" type="text/html" href="https://kuutorvaja.eenet.ee/w/index.php?title=GCC-4.5.2_-_Faas_1&amp;diff=24460&amp;oldid=prev"/>
		<updated>2011-06-01T12:36:30Z</updated>

		<summary type="html">&lt;p&gt;Uus lehekülg: &amp;#039;The GCC package contains the GNU compiler collection, which includes the C and C++ compilers.  GCC pakett sisaldab GNU kompilaatorite kollektsiooni.    Approximate build time: 5.0 S...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uus lehekülg&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The GCC package contains the GNU compiler collection, which includes the C and C++ compilers.&lt;br /&gt;
&lt;br /&gt;
GCC pakett sisaldab GNU kompilaatorite kollektsiooni.  &lt;br /&gt;
&lt;br /&gt;
Approximate build time:&lt;br /&gt;
5.0 SBU&lt;br /&gt;
Required disk space:&lt;br /&gt;
809 MB&lt;br /&gt;
5.5.1. Installation of Cross GCC&lt;br /&gt;
&lt;br /&gt;
GCC now requires the GMP, MPFR and MPC packages. As these packages may not be included in your host distribution, they will be built with GCC. Unpack each package into the GCC source directory and rename the resulting directories so the GCC build procedures will automatically use them:&lt;br /&gt;
&lt;br /&gt;
GCC vajab GMP, MPFR ja MPC pakette. Kuna need paketid pole vaikimisi kaasas baas distributsiooniga, tuleb nad kompileerida koos GCC&amp;#039;ga. Pakime iga paketi eraldi GCC algkoodi kausta lahti ja nimetame nad  ümber, et GCC ehitamise protseduurid saaksid neid automaatselt kasutada&lt;br /&gt;
&lt;br /&gt;
 tar -jxf ../mpfr-3.0.0.tar.bz2&lt;br /&gt;
 mv -v mpfr-3.0.0 mpfr&lt;br /&gt;
 tar -jxf ../gmp-5.0.1.tar.bz2&lt;br /&gt;
 mv -v gmp-5.0.1 gmp&lt;br /&gt;
 tar -zxf ../mpc-0.8.2.tar.gz&lt;br /&gt;
 mv -v mpc-0.8.2 mpc&lt;br /&gt;
&lt;br /&gt;
The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:&lt;br /&gt;
&lt;br /&gt;
GCC dokumentatsioon soovitab ehitada GCC väljaspool akgoodikausta spetsiaalses selleks otstarbeks loodud kataloogis.&lt;br /&gt;
&lt;br /&gt;
 mkdir -v ../gcc-build&lt;br /&gt;
 cd ../gcc-build&lt;br /&gt;
&lt;br /&gt;
Valmistame GCC kompileerimiseks ette:&lt;br /&gt;
&lt;br /&gt;
 ../gcc-4.5.2/configure \&lt;br /&gt;
     --target=$LFS_TGT --prefix=/tools \&lt;br /&gt;
     --disable-nls --disable-shared --disable-multilib \&lt;br /&gt;
     --disable-decimal-float --disable-threads \&lt;br /&gt;
     --disable-libmudflap --disable-libssp \&lt;br /&gt;
     --disable-libgomp --enable-languages=c \&lt;br /&gt;
     --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \&lt;br /&gt;
     --without-ppl --without-cloog&lt;br /&gt;
&lt;br /&gt;
Konfigureerimise võtmete tähendus:&lt;br /&gt;
&lt;br /&gt;
*--disable-shared&lt;br /&gt;
This switch forces GCC to link its internal libraries statically. We do this to avoid possible issues with the host system.&lt;br /&gt;
*--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp&lt;br /&gt;
These switches disable support for the decimal floating point extension, threading, libmudflap, libssp and libgomp respectively. These features will fail to compile when building a cross-compiler and are not necessary for the task of cross-compiling the temporary libc.&lt;br /&gt;
*--disable-multilib&lt;br /&gt;
On x86_64, LFS does not yet support a multilib configuration. This switch is harmless for x86.&lt;br /&gt;
*--enable-languages=c&lt;br /&gt;
This option ensures that only the C compiler is built. This is the only language needed now.&lt;br /&gt;
*--with-gmp-include=...&lt;br /&gt;
This option tells GCC where the GMP headers are located.&lt;br /&gt;
*--with-gmp-lib=...&lt;br /&gt;
This option tells GCC where the GMP library is located.&lt;br /&gt;
*--without-ppl, --without-cloog&lt;br /&gt;
These switches prevent GCC from building against the PPL and CLooG libraries which may be present on the host system, but will not be available in the chroot environment.&lt;br /&gt;
Compile GCC by running:&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
Compilation is now complete. At this point, the test suite would normally be run, but, as mentioned before, the test suite framework is not in place yet. The benefits of running the tests at this point are minimal since the programs from this first pass will soon be replaced.&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
make install&lt;br /&gt;
Using --disable-shared means that the libgcc_eh.a file isn&amp;#039;t created and installed. The Glibc package depends on this library as it uses -lgcc_eh within its build system. This dependency can be satisfied by creating a symlink to libgcc.a, since that file will end up containing the objects normally contained in libgcc_eh.a:&lt;br /&gt;
&lt;br /&gt;
ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | \&lt;br /&gt;
    sed &amp;#039;s/libgcc/&amp;amp;_eh/&amp;#039;`&lt;br /&gt;
Details on this package are located in Section 6.16.2, “Contents of GCC.”&lt;/div&gt;</summary>
		<author><name>Jj</name></author>
	</entry>
</feed>