mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
b3ae387171
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1072 af4574ff-66df-0310-9fd7-8a98e5e911e0
20 lines
747 B
XML
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 &&
|
|
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</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|