summaryrefslogtreecommitdiff
path: root/Makeconf
blob: 3a097c59ece3c0cdae74e5e37b1d63ad4c220310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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/')