mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
a5ecb00a30
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@834 af4574ff-66df-0310-9fd7-8a98e5e911e0
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>
|
|
|