gcc-2.95.3 and libstdc++-2.92
m.w.chang
mwchang
Mon May 17 11:43:33 PDT 2004
not my first time to ask this question. accordign to the doc in
libstdc++, what I needed to do is:
cd /usr/src
tar xzvf /path/to/gcc-2.95.3.tar.gz
cd /usr/src/gcc-2.95.3
tar xzvf /path/to/libdstdc++-2.92.tar.gz
# take out the old ilbstdc++ that's bundled with gcc-2.95.3
mv libdstdc++ ..
# load the new libstdc++ , puzzling why -v3???
mv libstdc++-2.92 libstdc++-v3
ln -s libstdc++-v3 libstdc++
cd /usr/src
rm -rf gccbuild
mkdir gccbuild
cd gccbuild
# following the gcc_notes
../gcc-2.95.3/configure \
--prefix=/usr \
--host=i686-pc-linux \
--with-gxx-include-dir=/usr/include/g++ \
--enable-shared \
--enable-gnu-ld
make bootstrap
checkinstall
everyting was built,
*but* rpm -qil gcc | grep libdstd gave me nothing.
if I used the bundled libstdc++, there will be a libstdc++ in /usr/lib.
--
Swiftly. Silently. Invisibly. .~. In Linux We Trust.
news://news.hkpcug.org / v \ http://www.linux-sxs.org
news://news.linux.org.hk /( _ )\ http://www.linuxfromscratch.org
news://news.3dhome.net ^ ^ http://beyond.linuxfromscratch.org
For starters: http://new.linuxnow.com/tutorial/preface.html
More information about the Linux-users
mailing list