This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.0.0 x86_64 static linking of libstdc++.a
- From: "Roland Lengfeldner" <lengfeldner_roland at gmx dot at>
- To: Nix <nix at esperi dot org dot uk>
- Cc: gcc-help at gnu dot org
- Date: Tue, 24 May 2005 16:37:47 +0200 (MEST)
- Subject: Re: gcc 4.0.0 x86_64 static linking of libstdc++.a
- References: <878y24agmh.fsf@amaterasu.srvr.nix>
First, of all, thanks for your answer.
> Well, that's pretty clear: recompile libstdc++.a with -fPIC (which means
> rebootstrapping GCC with distinctly unusual CXXFLAGS) or take out that
> explciit linkage to libstdc++.a.
>
Ok, I'm just doing a new bootstrap, in order to generate a libstdc++.a with
-fPIC.
> (You should be using the c++ or g++ drivers for this, anyway.)
>
No option, because I need to generate a file which does NOT depend on a
particular libstdc++.so file installed in a given directory, therefore
static linking with gcc.
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl