20000-05-18 H.J. Lu (hjl@gnu.org)

* configure: Ask to create the gcc directory for cross
	compiling if necessary.
This commit is contained in:
H.J. Lu 2000-05-18 17:11:17 +00:00
parent 09e90eb479
commit 16ee897daa
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
20000-05-18 H.J. Lu (hjl@gnu.org)
* configure: Ask to create the gcc directory for cross
compiling if necessary.
Thu May 18 10:58:13 2000 Jeffrey A Law (law@cygnus.com)
* configure.in (hppa*64*-*-*): Do build ld for this configuration.

11
configure vendored
View File

@ -753,6 +753,17 @@ target_vendor=`echo $result | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $result | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
target=${target_cpu}-${target_vendor}-${target_os}
if [ x${target} != x${build} -a x${build} = x${host} ]; then
if [ x${gcc_version} != x -a ! -d ${prefix}/lib/gcc-lib/${target_alias}/${gcc_version} ]; then
echo "Please create the directory:" 1>&2
echo 1>&2
echo " ${prefix}/lib/gcc-lib/${target_alias}/${gcc_version}" 1>&2
echo 1>&2
echo "first for successful cross-compilation." 1>&2
exit 1
fi
fi
. ${tmpfile}.tgt
# Find the source files, if location was not specified.