This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Linking gcc libs statically on HPUX 11...
- From: "Venkatakrishnan, V" <v dot venkatakrishnan at channels dot usa dot xerox dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 6 Jan 2004 06:16:04 -0500
- Subject: Linking gcc libs statically on HPUX 11...
Hi,
I've built this application on HPUX 11 gcc 2.95.3 and it works fine
on my build machine. When I deploy it on some target machine I get the
following error...
/usr/lib/dld.sl: Can't open share library: /usr/local/lib/libstdc++.sl
/usr/lib/dld.sl: No such file or directory
I've tried linking this library statically to my application by
using -Wl, -bstatic etc. but I get errors saying that these switches are
unrecognized.
How do I go about linking it statically to my app. so that I could
deploy my app. on any target machine with a non development environment.
Regards,
Venky