glfs/general/genlib/stlport/stlport-inst.xml
Larry Lawrence b3ae387171 update stlport intro
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1072 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-14 14:31:04 +00:00

20 lines
747 B
XML

<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>