This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: -shared-libgcc vs. -static -static-libgcc
- From: Richard Henderson <rth at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, gcc dot gnu dot org at redhat dot lsd dot ic dot unicamp dot br, gcc-patches at gcc dot gnu dot org, libstdc++-v3 at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Thu, 28 Feb 2002 10:16:44 -0800
- Subject: Re: -shared-libgcc vs. -static -static-libgcc
- References: <Pine.SOL.3.91.1020227171642.15292A-100000@taarna.cygnus.com> <orr8n6b5zu.fsf@free.redhat.lsd.ic.unicamp.br>
On Thu, Feb 28, 2002 at 01:11:17AM -0300, Alexandre Oliva wrote:
> and libjava binaries no longer depend directly on libgcc_s, as intended.
Err, no. If a java binary throws or catches exceptions,
and given the style of use of exceptions in java this is
exceedingly likely, then the binary should link against
libgcc_s so that it acquires the proper symbol versions.
> * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
> override -shared and -shared-libgcc.
Ok.
r~