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]

Re: -shared-libgcc


On Jan  7, 2001, Richard Henderson <rth@redhat.com> wrote:

> I tried to modify libstdc++-v3 to use "-shared-libgcc", but it
> seems that libtool filters that out of the options that actually
> make it to the gcc invocation.  I couldn't even figure out _where_
> libtool processes arguments, much less modify it to dtrt.  I'm
> hoping that Alexandre or someone will take care of this.  ;-)

Use -Wc,-shared-libgcc instead of just -shared-libgcc.  This tells
libtool to pass an arbitrary option to the compiler.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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