64-bit version of libstdc++.so
Christoph Bugel
chris@tti-telecom.com
Thu Aug 15 07:43:00 GMT 2002
> > 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)
More information about the Libstdc++
mailing list