This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.0.0 x86_64 static linking of libstdc++.a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]