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 overstatic one
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <aoliva at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 08 Jul 2004 09:00:13 +0200
- Subject: Re: allow preferring linking against dynamic libgcc overstatic one
This sounds rather good. When I first wrote the change,
DRIVER_SELF_SPECS didn't exist yet. After that I just continued bringing
it forward since I didn't notice the enhancement. Thanks for pointing
this out. Jan
>>> Alexandre Oliva <aoliva@redhat.com> 07.07.04 20:50:09 >>>
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}