This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linking against libgcc.a on GNU/Linux
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 13 Mar 2019 17:46:50 +0000
- Subject: Re: Linking against libgcc.a on GNU/Linux
- References: <87r2bbkte1.fsf@oldenburg2.str.redhat.com>
On Wed, 13 Mar 2019, Florian Weimer wrote:
> Would it be possible to turn libgcc_s.so into a linker script that links
> against libgcc.a and libgcc_s.so.1, and teach g++ not to link against
> libgcc.a explicitly anymore?
It is already a linker script on platforms using t-slibgcc-libgcc in
libgcc/config.host.
--
Joseph S. Myers
joseph@codesourcery.com