This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: allow preferring linking against dynamic libgcc over static one
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Jan Beulich" <JBeulich at novell dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: 07 Jul 2004 15:50:09 -0300
- Subject: Re: allow preferring linking against dynamic libgcc over static one
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <s0ebf0de.097@emea1-mh.id2.novell.com>
On Jul 7, 2004, "Jan Beulich" <JBeulich@novell.com> wrote:
> 2004-07-07 Jan Beulich <jbeulich@novell.com>
> * gcc.c (init_gcc_specs): Conditionalize upon
> PREFER_SHARED_LIBGCC.
Instead of introducing this new macro, how about just doing it with a
machine/os-specific:
#define DRIVER_SELF_SPECS "%{!static-libgcc:-shared-libgcc}"
?
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}