mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 13:42:13 +08:00
19 lines
686 B
XML
19 lines
686 B
XML
|
<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 &&
|
||
|
patch -Np1 -i ../STLport-&STLport-version;-g++-inc.patch &&
|
||
|
GCC_VERSION=`gcc -v 2>&1 | grep "gcc version " | sed -e "s:gcc version ::"` &&
|
||
|
cp stlport/config/stl_gcc.h stlport/config/stl_gcc.h.orig &&
|
||
|
sed -e "s:@GCC_VERSION@:$GCC_VERSION:" \
|
||
|
stlport/config/stl_gcc.h.orig > stlport/config/stl_gcc.h &&
|
||
|
cd src &&
|
||
|
ln -sf gcc-linux.mak Makefile &&
|
||
|
make &&
|
||
|
make INSTALLDIR=/usr install</userinput></screen></para>
|
||
|
|
||
|
</sect2>
|
||
|
|