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

19 lines
686 B
XML
Raw Normal View History

<sect2>
<title>Installation of STLport</title>
<para>Install STLport by running the following commands.</para>
<para><screen><userinput>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</userinput></screen></para>
</sect2>