aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-06-17 08:13:23 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-17 02:13:23 -0600
commit4b95eb496dc3b0bc1680ad978be4b2f094de556d (patch)
treec33cb5d34def272c08424c68f3db606b9269a70b /gcc
parent1b357872d7ce4600a1d24b1eca94d7bace7c31ab (diff)
downloadgcc-4b95eb496dc3b0bc1680ad978be4b2f094de556d.zip
gcc-4b95eb496dc3b0bc1680ad978be4b2f094de556d.tar.gz
gcc-4b95eb496dc3b0bc1680ad978be4b2f094de556d.tar.bz2
* configure.in (nm): Make a link to "nm" in the build tree too.
From-SVN: r20535
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rwxr-xr-xgcc/configure7
-rw-r--r--gcc/configure.in5
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1267c7e..88a56d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
Wed Jun 17 08:38:13 1998 Jeffrey A Law (law@cygnus.com)
+ * configure.in (nm): Make a link to "nm" in the build tree too.
+
* mn10300.md (andsi3): Fix typo.
Tue Jun 16 22:58:40 1998 Richard Henderson <rth@cygnus.com>
diff --git a/gcc/configure b/gcc/configure
index 1711761..1356037 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -5115,6 +5115,11 @@ if [ -f ../gas/Makefile ]; then
rm -f as; $symbolic_link ../gas/as-new$host_exeext as$host_exeext 2>/dev/null
fi
+# If we have nm in the build tree, make a link to it.
+if [ -f ../binutils/Makefile ]; then
+ rm -f nm; $symbolic_link ../binutils/nm-new$host_exeext nm$host_exeext 2>/dev/null
+fi
+
# If we have ld in the build tree, make a link to it.
if [ -f ../ld/Makefile ]; then
# if [[ x$use_collect2 = x ]]; then
@@ -5126,7 +5131,7 @@ fi
# Figure out what assembler alignment features are present.
echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
-echo "configure:5130: checking assembler alignment features" >&5
+echo "configure:5135: checking assembler alignment features" >&5
gcc_cv_as=
gcc_cv_as_alignment_features=
if [ -x as$host_exeext ]; then
diff --git a/gcc/configure.in b/gcc/configure.in
index 210b462..1575f88 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -3271,6 +3271,11 @@ if [[ -f ../gas/Makefile ]]; then
rm -f as; $symbolic_link ../gas/as-new$host_exeext as$host_exeext 2>/dev/null
fi
+# If we have nm in the build tree, make a link to it.
+if [[ -f ../binutils/Makefile ]]; then
+ rm -f nm; $symbolic_link ../binutils/nm-new$host_exeext nm$host_exeext 2>/dev/null
+fi
+
# If we have ld in the build tree, make a link to it.
if [[ -f ../ld/Makefile ]]; then
# if [[ x$use_collect2 = x ]]; then