public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Glibc and GCC Runtime Library exception
@ 2020-12-15 16:50 JhansiG Gottumukkala
  2020-12-15 16:58 ` Carlos O'Donell
  2020-12-15 16:59 ` Florian Weimer
  0 siblings, 2 replies; 3+ messages in thread
From: JhansiG Gottumukkala @ 2020-12-15 16:50 UTC (permalink / raw)
  To: libc-help

Hi,

Im using GCC to compile my program and linking with Glibc statically. I
came across something called GCC Runtime Library exception while
using/linking the GCC libraries. Does Glibc also come under this exception?

Can you please help answer my question?

Regards
Jhansi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Glibc and GCC Runtime Library exception
  2020-12-15 16:50 Glibc and GCC Runtime Library exception JhansiG Gottumukkala
@ 2020-12-15 16:58 ` Carlos O'Donell
  2020-12-15 16:59 ` Florian Weimer
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos O'Donell @ 2020-12-15 16:58 UTC (permalink / raw)
  To: JhansiG Gottumukkala; +Cc: libc-help

On 12/15/20 11:50 AM, JhansiG Gottumukkala via Libc-help wrote:
> Hi,
> 
> Im using GCC to compile my program and linking with Glibc statically. I
> came across something called GCC Runtime Library exception while
> using/linking the GCC libraries. Does Glibc also come under this exception?
> 
> Can you please help answer my question?

Please see the GPL FAQ:
https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynamic

-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Glibc and GCC Runtime Library exception
  2020-12-15 16:50 Glibc and GCC Runtime Library exception JhansiG Gottumukkala
  2020-12-15 16:58 ` Carlos O'Donell
@ 2020-12-15 16:59 ` Florian Weimer
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Weimer @ 2020-12-15 16:59 UTC (permalink / raw)
  To: JhansiG Gottumukkala via Libc-help; +Cc: JhansiG Gottumukkala

* JhansiG Gottumukkala via Libc-help:

> Im using GCC to compile my program and linking with Glibc
> statically. I came across something called GCC Runtime Library
> exception while using/linking the GCC libraries. Does Glibc also come
> under this exception?

No, most of glibc is not covered by the GCC run-time library exception.
Or put differently, I do not think it is possible to statically link a
working program that falls under the exception.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-15 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 16:50 Glibc and GCC Runtime Library exception JhansiG Gottumukkala
2020-12-15 16:58 ` Carlos O'Donell
2020-12-15 16:59 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).