summaryrefslogtreecommitdiff
path: root/=Maketools
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-04-21 21:52:16 +0000
committerRoland McGrath <roland@gnu.org>1994-04-21 21:52:16 +0000
commitec29aa9cbb4c30f3bcb26bf3e3d439525bf55d64 (patch)
tree940a99a85888dc671c9b49f8006352bff74350c9 /=Maketools
parented15887cd9516f6a43417adcf1f3569ba64d0583 (diff)
Formerly Maketools.~11~
Diffstat (limited to '=Maketools')
-rw-r--r--=Maketools6
1 files changed, 4 insertions, 2 deletions
diff --git a/=Maketools b/=Maketools
index b80a11a4..4e08148d 100644
--- a/=Maketools
+++ b/=Maketools
@@ -16,6 +16,8 @@ CCTYPE=-b $(CCTARGET) -V $(CCVERSION)
CCVERSION-douglas.gnu.ai.mit.edu = 2.5.7
CCVERSION-ernst.gnu.ai.mit.edu = 2.5.7
+ccdir = /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)
+
ifndef HOST_CC
export HOST_CC := $(CC)
endif
@@ -25,11 +27,11 @@ MIGCOM=rsh $(mighost) cd `pwd` \; /usr/local/lib/migcom
else
MIGCOM=/usr/local/lib/migcom
endif
-CPP=/usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/cpp
+CPP=$(ccdir)/cpp
export CPP
# I put a /usr/local/bin/mig on the hp300s that will run $CPP locally and
# rsh to ernst to run migcom. --roland
MIG=mig # rsh $(mighost) cd `pwd` \; mig
AR=$(tooldir)/ar
RANLIB=$(tooldir)/ranlib
-LD=/usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/ld
+LD=$(ccdir)/ld -L$(ccdir)