This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: 64-bit version of libstdc++.so
- From: Christoph Bugel <chris at tti-telecom dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Ruchir Agarwal <ruchir_agarwal at mentorg dot com>
- Date: Thu, 15 Aug 2002 17:42:42 +0300
- Subject: Re: 64-bit version of libstdc++.so
> > I would like to know, where I can get the 64 bit version of libstdc++.so
> > for Solaris 2.8, gcc3.1 from ?
>
> We do not distribute compiled binaries, only source.
Yes. If you configure and install your compiler
correctly you will get both libraries side by side.
It works for me, as you can see below:
$ g++ hw.cc
$ ldd a.out | grep 'c++'
libstdc++.so.5 => /users/chris/local/gcc-3.2-20020809/lib/gcc-lib/sparc-sun-solaris2.8/3.2/libstdc++.so.5
$ g++ -m64 hw.cc
$ ldd a.out | grep 'c++'
libstdc++.so.5 => /users/chris/local/gcc-3.2-20020809/lib/gcc-lib/sparc-sun-solaris2.8/3.2/sparcv9/libstdc++.so.5
$ g++ -v
Reading specs from /users/chris/local/gcc-3.2-20020809/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../gcc-3.2-20020809/configure --enable-version-specific-runtime-libs --enable-languages=c++ --enable-threads --with-gnu-as --with-as=/opt/binutils-2.12/bin/as --with-gnu-ld --with-ld=/opt/binutils-2.12/bin/ld --prefix=/users/chris/local/gcc-3.2-20020809
Thread model: posix
gcc version 3.2 20020809 (prerelease)