This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
libstdc++ linked as libstdc++.a
- From: "Mike Bezman" <mab at sycon-design dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Cc: <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 12 Nov 2002 16:59:25 -0600
- Subject: libstdc++ linked as libstdc++.a
Hi !!
I am trying to build an C++/C executable using gcc3.2 on RedHat
7.2("Intel").
I don't want the users on the other machines to be required to have
libstdc++.so on those machines.
For example with simple app hello.cpp
the commmand I tried : gcc -o hello -lstdc++ hello.cpp and when running on
different computer (which doesn't have libstdc++) I am getting - error while
loading shared libraries libstdc++.so.5 ....
How to solve this problem (i.e. I guess force the app. to link libstdc++.a
instead) ?
Thanks, Mike