This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ -static-libgcc not working (g++ 3.0.4).
- From: jean-frederic clere <jfrederic dot clere at fujitsu-siemens dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 05 Sep 2002 14:06:39 +0200
- Subject: g++ -static-libgcc not working (g++ 3.0.4).
- Reply-to: jfrederic dot clere at fujitsu-siemens dot com
Hi,
I am on a Solaris machine (5.8) and I am not using the gnu ld.
I am trying to have a program linked staticly with libstdc++.a and libgcc.a.
I have tried g++ -o program -static-libgcc ...
But program still requires libstdc++.so.3 and libgcc_s.so.1
I have tried to -static but it failed because g++ does find dlopen and relatives.
Any ideas about what could be wrong?
Cheers
Jean-frederic