summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-11-02 20:46:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-11-02 20:46:19 +0000
commit86eafd3c3d4e97c668154997231f610939f253fa (patch)
treea770bf3dc858dcf8f17d63a2c49288e818712e52
parent001f975804b071cab514f5d38e8d3eeb643e4b46 (diff)
Initial revision
-rw-r--r--Makeconf25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makeconf b/Makeconf
new file mode 100644
index 00000000..3a097c59
--- /dev/null
+++ b/Makeconf
@@ -0,0 +1,25 @@
+# Generic configuration for Hurd compilation
+
+# This is the directory into which Hurd cross-building tools are placed
+hurdinst := /home/hm1/hurdinst
+
+# Where to find various things for compilation:
+headers := $(HURDINST)/include
+startup := $(HURDINST)/lib/crt0.a
+libc := $(HURDINST)/lib/libc.a
+libthreads := $(HURDINST)/lib/libthreads.a
+
+# Flags for compilation
+CPPFLAGS := -nostdinc -I$(HEADERS) -I$(GCCHEADERS)
+CFRAGS := -Wall -Wno-parentheses -O -g
+
+# Finding binaries
+CC=gcc
+MIGCOM=/usr/local/lib/migcom
+
+# Finding the GCC headers (you must have GCC version 2.4.5 or later)
+
+GCCHEADERS=$(exec $(CC) -v | head -1 | awk '{print $4}' | sed -e 's/specs/include/')
+
+
+