------- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-18 10:07 -------
libgcc_s goes into slibdir which is set as

AC_ARG_WITH(slibdir,
[  --with-slibdir=DIR      shared libraries in DIR [[LIBDIR]]],
slibdir="$with_slibdir",
if test "${enable_version_specific_runtime_libs+set}" = set; then
  slibdir='$(libsubdir)'
elif test "$host" != "$target"; then
  slibdir='$(build_tooldir)/lib'
else
  slibdir='$(libdir)'
fi)
AC_SUBST(slibdir)

and libsubdir is (should be)

libsubdir = $(libdir)/gcc/$(target_noncanonical)/$(version)

but indeed, the (shared and .so link) libs end up in
$(libdir)/gcc/$(target_noncanonical)/lib{,64} instead.

Possibly the install-shared rule of libgcc is bogus, but who knows.
CCing a build system maintainer.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-18 10:07:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35248

Reply via email to