http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32415
Harald van Dijk <harald at gigawatt dot nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harald at gigawatt dot nl --- Comment #11 from Harald van Dijk <harald at gigawatt dot nl> 2011-08-24 22:29:36 UTC --- (In reply to comment #8) > In ./gcc/libgcc.mvars, we have > > SHLIB_INSTALL = $(mkinstalldirs) $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; > [...] > > where $(DESTDIR)$(libdir) seems to be correct for me. However, the last part > (@shlib_slibdir_qual@) is substituted in libgcc/Makefile.in(install-shared) > with $(MULTIOSSUBDIR) which is based on `$(CC) $(CFLAGS) > -print-multi-os-directory)`, here '../lib64'. Yes, for --enable-version-specific-runtime-libs, it should be replaced by $(MULTISUBDIR) rather than $(MULTIOSSUBDIR). But $(MULTISUBDIR) would be wrong for the default configuration. Other subdirectories handle this by adding the $(MULTI*) from the configure script instead of the Makefile.in.