-shared-libgcc vs -static-libgcc

Richard Henderson rth@redhat.com
Fri Feb 13 19:47:00 GMT 2004


On Fri, Feb 13, 2004 at 11:33:13AM -0800, Matt Austern wrote:
> The reason I'm harping on this: if you accept my paraphrase, then I 
> don't see why we have two switches instead of one.  One switch is a 
> binary choice between two alternatives.  Two switches is a choice 
> between four alternatives.

No, *maximally* four alternatives.  In reality, between three
alternatives: force-shared, force-static, default.  The default
depends on language and executable/shared-library link output.


r~



More information about the Gcc mailing list