-shared-libgcc vs. -static -static-libgcc

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Feb 28 03:45:00 GMT 2002


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.

regards

Bryce.




More information about the Java-patches mailing list