summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-01 04:36:27 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-01 04:36:27 +0000
commit1f4979c2b87f2de457731cb8f20244d7fbed6dc5 (patch)
tree4261c9470b7f91ae523948803247a51bfa22b9b4 /Makeconf
parentb7ecd937099ed524fca6f647625e7d18bca13a4b (diff)
Formerly Makeconf.~20~
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf28
1 files changed, 23 insertions, 5 deletions
diff --git a/Makeconf b/Makeconf
index 12f52f9b..392814a7 100644
--- a/Makeconf
+++ b/Makeconf
@@ -11,6 +11,22 @@ hurdroot := /home/hm1/hurdroot
# This is the directory containing the top-level Hurd source (and this file).
hurdsource := /home/hm1/gnu/hurd
+# This is the directory holding ar and ranlib
+bindir := /usr/local/i386-mach/bin
+
+# This is a machine on which to run MiG. (MiG writes CPU dependent code,
+# so MiG has to be run on a machine that's the same as the one that will
+# 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
+
+# Set these options to the GCC compiler spec (the correct value
+# can be found in /usr/local/lib/lib-gcc).
+CCTARGET=i386-mach
+CCVERSION=current
+CCTYPE=-b $(CCTARGET) -V $(CCVERSION)
+
# Where to find various things for compilation:
headers := $(hurdinst)/include
startup := $(hurdinst)/lib/crt0.o
@@ -21,17 +37,19 @@ libioserver := $(hurdinst)/lib/libioserver.a
libpager := $(hurdinst)/lib/libpager.a
libfshelp := $(hurdinst)/lib/libfshelp.a
libdiskfs := $(hurdinst)/lib/libdiskfs.a
-gccheaders := /usr/local/lib/gcc-lib/i386-compaq-mach/2.5.7/include
+gccheaders := /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/include
# Flags for compilation
CPPFLAGS := -nostdinc -I$(headers) -I$(gccheaders)
CFLAGS := -Wall -Wno-parentheses -O -g -pipe
# Finding binaries
-CC=gcc
-MIGCOM=/usr/local/lib/migcom
-CPP=/usr/local/lib/gcc-lib/i386-compaq-mach/2.5.7/cpp
-MIG=mig
+CC=gcc $(CCTYPE)
+MIGCOM=rsh $(mighost) cd $(hurdsource)/$(dir) \; /usr/local/lib/migcom
+CPP=/usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/cpp
+MIG=rsh $(mighost) cd $(hurdsource)/$(dir) \; mig
+AR=$(bindir)/ar
+RANLIB=$(bindir)/ranlib
# How to do some things: