glfs/general/genlib/stlport/stlport-inst.xml

20 lines
747 B
XML
Raw Normal View History

<sect2>
<title>Installation of <application>STLport</application></title>
<para>Install <application>STLport</application> by running the following
commands.</para>
<screen><userinput><command>patch -Np1 -i ../STLport-&STLport-version;-gcc3.patch &amp;&amp;
patch -Np1 -i ../STLport-&STLport-version;-g++-inc.patch &amp;&amp;
GCC_VERSION=`gcc -v 2>&amp;1 | grep "gcc version " | sed -e "s:gcc version ::"` &amp;&amp;
cp stlport/config/stl_gcc.h stlport/config/stl_gcc.h.orig &amp;&amp;
sed -e "s:@GCC_VERSION@:$GCC_VERSION:" \
stlport/config/stl_gcc.h.orig &gt; stlport/config/stl_gcc.h &amp;&amp;
cd src &amp;&amp;
ln -sf gcc-linux.mak Makefile &amp;&amp;
make &amp;&amp;
make INSTALLDIR=/usr install</command></userinput></screen>
</sect2>