This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]