This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking against libgcc.a on GNU/Linux


* Joseph Myers:

> 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.

Hmm.  I assume this means that x86-64 and i386 should use this approach,
but they currently do not (GCC 8/9 in Fedora):

  <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805#c5>

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]