2003-04-08 10:02:24 +08:00
|
|
|
<sect2>
|
2003-09-14 22:31:04 +08:00
|
|
|
<title>Installation of <application>STLport</application></title>
|
2003-04-08 10:02:24 +08:00
|
|
|
|
2003-09-14 22:31:04 +08:00
|
|
|
<para>Install <application>STLport</application> by running the following
|
|
|
|
commands.</para>
|
2003-04-08 10:02:24 +08:00
|
|
|
|
2003-09-14 22:31:04 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../STLport-&STLport-version;-gcc3.patch &&
|
2003-04-08 10:02:24 +08:00
|
|
|
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 &&
|
2003-09-14 22:31:04 +08:00
|
|
|
make INSTALLDIR=/usr install</command></userinput></screen>
|
2003-04-08 10:02:24 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|