summaryrefslogtreecommitdiff
path: root/=Maketools
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-06 17:30:39 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-06 17:30:39 +0000
commit14bb2e6084fff2440b6999e919bd976c09e63675 (patch)
treedc3c4cd4052d62b4492c9bec6ad0619670ba3b52 /=Maketools
parent8770ce0d0d82d0b883400637dcd9d02e37d3b42f (diff)
Formerly Maketools.~15~
Diffstat (limited to '=Maketools')
-rw-r--r--=Maketools8
1 files changed, 7 insertions, 1 deletions
diff --git a/=Maketools b/=Maketools
index 29ceab40..400f39aa 100644
--- a/=Maketools
+++ b/=Maketools
@@ -6,7 +6,10 @@ tooldir := /usr/local/i386-mach/bin
# run the eventual code.) If you are not doing cross-compilation, then
# you need to set MIGCOM and MIG below to the plain pathnames of those
# two programs respectively.
-mighost := ernst
+# If the version of GCC on this version is not the same as CCVERSION,
+# then you must set CCVERSION-$(mighost) in the same fashion as is
+# done below for ernst.gnu.ai.mit.edu and douglas.gnu.ai.mit.edu.
+mighost := ernst.gnu.ai.mit.edu
# Set these options to the GCC compiler spec (the correct value
# can be found in /usr/local/lib/lib-gcc).
@@ -15,6 +18,8 @@ CCVERSION=$(firstword $(CCVERSION-$(hostname)) 2.5.8)
CCTYPE=-b $(CCTARGET) -V $(CCVERSION)
CCVERSION-douglas.gnu.ai.mit.edu = 2.5.7
CCVERSION-ernst.gnu.ai.mit.edu = 2.5.7
+MIGHOSTCCVERSION=$(firstword $(CCVERSION-$(mighost)) $(CCVERSION))
+MIGHOSTCCTYPE= -b $(CCTARGET) -V $(MIGHOSTCCVERSION)
ccdir = /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)
@@ -22,6 +27,7 @@ ifndef HOST_CC
export HOST_CC := $(CC)
endif
CC=gcc $(CCTYPE) -O2 -pipe # Ceci n'est pas une pipe.
+MIGHOSTCC= gcc $(MIGHOSTCCTYPE) -O2 -pipe
ifeq (,$(wildcard /usr/local/lib/migcom))
MIGCOM=rsh $(mighost) cd `pwd` \; /usr/local/lib/migcom
else