summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/')
+
+
+