This is the mail archive of the
mailing list for the GCC project.
Re: -shared-libgcc vs. -static -static-libgcc
Alexandre Oliva wrote:
>Ok, here's what I've come up with. Tested on athlon-pc-linux-gnu,
>both with and without a recent ld. libstdc++-v3 and libjava built
>correctly (i.e., were linked with libgcc_s), and libjava binaries no
>longer depend directly on libgcc_s, as intended.
Is there a correctness issue here or is it just a matter of style &
efficiency to not depend directly on it? I ask because gcj links its
binaries directly against libgcc_s (and a bunch of other java libraries).
Anyway, thanks for cleaning this stuff up a bit.