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: install the shared libgcc


And then spake Richard Henderson, as follows:
>         * Makefile.in (slibdir): New variable.
>         (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
>         (installdirs): Create slibdir.
>         (install-libgcc, install-multilib): Defer to libgcc.mk.
>         * configure.in (slibdir): Substitute.
>         * mklibgcc.in (install): New target.

I had to apply the attached patch and re-run autoconf to get configure
to work (otherwise it loops forever running "yes = yes", because M4 eats
the [ and ] in configure.in before they get to configure.)

Hope this helps.

-Brian

--- gcc-20010107/gcc/configure.in.orig	Sun Jan  7 13:19:51 2001
+++ gcc-20010107/gcc/configure.in	Sun Jan  7 13:24:09 2001
@@ -1808,9 +1808,9 @@
 [  --enable-version-specific-runtime-libs    Specify that runtime libraries shou
 ld be installed in a compiler-specific directory ])
 
-if [ "${enable_version_specific_runtime_libs-no}" = "yes" ]; then
+if test "${enable_version_specific_runtime_libs-no}" = "yes" ; then
   slibdir='$(libsubdir)'
-elif [ "$host" != "$target" ]; then
+elif test "$host" != "$target" ; then
   slibdir='$(build_tooldir)/lib'
 else
   slibdir='$(prefix)/lib'

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