+2005-04-19 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET.
+ * mklibgcc.in: Use $GCC_FOR_TARGET instead of ./xgcc.
+
2005-04-19 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.
SHLIB_NM_FLAGS='$(SHLIB_NM_FLAGS)' \
MULTILIB_OSDIRNAMES='$(MULTILIB_OSDIRNAMES)' \
ASM_HIDDEN_OP='$(ASM_HIDDEN_OP)' \
+ GCC_FOR_TARGET='$(GCC_FOR_TARGET)' \
mkinstalldirs='$(mkinstalldirs)' \
$(SHELL) mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
# SHLIB_INSTALL
# MULTILIB_OSDIRNAMES
# ASM_HIDDEN_OP
+# GCC_FOR_TARGET
# Make needs VPATH to be literal.
echo 'srcdir = @srcdir@'
if [ "$LIBUNWIND" ]; then
libunwind_so=$dir/libunwind${SHLIB_EXT}
fi
- os_multilib_dir=`./xgcc -B./ $flags --print-multi-os-directory`
+ os_multilib_dir=`$GCC_FOR_TARGET $flags --print-multi-os-directory`
if [ "$os_multilib_dir" != . ]; then
shlib_slibdir_qual="/$os_multilib_dir"
fi
echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcc_eh.a
shlib_slibdir_qual=
- os_multilib_dir=`./xgcc -B./ $flags --print-multi-os-directory`
+ os_multilib_dir=`$GCC_FOR_TARGET $flags --print-multi-os-directory`
if [ "$os_multilib_dir" != . ]; then
shlib_slibdir_qual="/$os_multilib_dir"
fi