This is the mail archive of the gcc-patches@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: 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}


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