projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When using -k, make sure to flush all of the subprocess's output to
[pintos-anon]
/
src
/
Make.config
diff --git
a/src/Make.config
b/src/Make.config
index 8744f0da4a764c4022f72669668a498f271c6bea..b1d480e70ae51453e636057e5b7d556722443825 100644
(file)
--- a/
src/Make.config
+++ b/
src/Make.config
@@
-18,11
+18,15
@@
LD = i386-elf-ld
OBJCOPY = i386-elf-objcopy
endif
OBJCOPY = i386-elf-objcopy
endif
+ifeq ($(strip $(shell command -v $(CC) 2> /dev/null)),)
+$(warning *** Compiler ($(CC)) not found. Did you set $$PATH properly? Please refer to the Getting Started section in the documentation for details. ***)
+endif
+
# Compiler and assembler invocation.
DEFINES =
WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
# Compiler and assembler invocation.
DEFINES =
WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
-CFLAGS = -g -MMD -msoft-float
-masm=intel
-CPPFLAGS = -nostdinc -I$(SRCDIR) -I
- -I
$(SRCDIR)/lib
+CFLAGS = -g -MMD -msoft-float
+CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib
ASFLAGS = -Wa,--gstabs -MMD
LDFLAGS =
ASFLAGS = -Wa,--gstabs -MMD
LDFLAGS =