This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Make -shared-libgcc default in some situations
>>>>> "Alexandre" == Alexandre Oliva <email@example.com> writes:
Alexandre> It seems to me that init_gcc_specs will always use shared_name -lgcc_s
Alexandre> in this case:
Nope; init_gcc_specs is never called unless ENABLE_SHARED_LIBGCC is
I didn't conditionally compile it away because there's no real point.
Instead, following recent discussions, we should make
ENABLE_SHARED_LIBGCC a 0/1-valued thingy, and then GCC should learn to
optimize away static functions that are never called. (Easy, when we
go to file-at-a-time processing.)
Mark Mitchell firstname.lastname@example.org
CodeSourcery, LLC http://www.codesourcery.com