This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ question
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: g++ question
- From: "Kennedy, Chris" <chris dot kennedy at t-t dot com>
- Date: Wed, 14 Mar 2001 15:05:24 -0500
I'm new to g++ I compiled a c++ program on a development server snd then
binary ftp
transferred the executable to a test server.
When I run the code on the test server, I get:
ld.so.1: pass: fatal: libstdc++.so.2.10.0: open failed.
I assume that libstdc++ is the shared object containing the base c++ classes
that my application needs
to run?
My question is, is it possible to static link the object code when compiling
the executable so that the
shared object modules are not required on the test server?
The compile line I am using is:
g++ -g -o pass parser.cpp