libgcc.a and libgcc_eh.a even if static is disabled?

Florian Weimer fweimer@redhat.com
Thu Aug 27 12:13:52 GMT 2020


* Christer Solskogen via Gcc-help:

> How is it that libgcc.a and libgcc_eh.a are compiled/installed when
> configuring gcc with --disable-static --enabled-shared?

libgcc.a only exists as statically linked code.  Not sure about
libgcc_eh.a; the dynamic libgcc_s does not depend on it as far as I can
see.

Thanks,
Florian



More information about the Gcc-help mailing list