glfs/general/prog/gcc/gcc-inst1.xml

18 lines
528 B
XML
Raw Normal View History

<sect2>
<title>Installation of gcc without Ada</title>
<para>Install gcc by running the following commands:</para>
<para><screen><userinput>unset CFLAGS &amp;&amp;
unset CXXFLAGS &amp;&amp;
mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
--enable-languages=c,c++,objc,f77,java --enable-threads=posix \
--with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu &amp;&amp;
make bootstrap &amp;&amp;
make install</userinput></screen></para>
</sect2>