gcc.c (init_gcc_specs): New function.
authorMark Mitchell <mark@codesourcery.com>
Fri, 2 Feb 2001 17:42:00 +0000 (17:42 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 2 Feb 2001 17:42:00 +0000 (17:42 +0000)
commit049f6ec972093cb435f6d842386872c1c6001a0c
tree3e8cc7d5d1480250560533db491107be11d42779
parent483b9fd0fe4e0da56b15a09be666c2012169274d
gcc.c (init_gcc_specs): New function.

* gcc.c (init_gcc_specs): New function.  Make -shared-libgcc
the default when building a shared object.
(init_spec): Use it.
* testsuite/lib/g++.exp: Include the directory where libgcc
is located to the LD_LIBRARY_PATH list.
* inovke.texi (-shared-libgcc): Document the cases in which

* Make-lang.in (g++spec.o): Add DRIVER_DEFINES to the list
of macros used when compiling g++spec.c.
* g++spec.c (lang_specific_driver): Link with the shared
libgcc by default.

From-SVN: r39408
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/g++spec.c
gcc/gcc.c
gcc/invoke.texi
gcc/testsuite/lib/g++.exp