X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2FMake.config;h=910ef121099486fc8dc0377a4f70523f6f128343;hb=22acef028a140604f5b34705263ba70959fcf4f4;hp=0a1b46a37ac10de3cf7e37c1670eafff5464b33e;hpb=004ff5e0bbf4acef2be3f1db66c00790fee21246;p=pintos-anon diff --git a/src/Make.config b/src/Make.config index 0a1b46a..910ef12 100644 --- a/src/Make.config +++ b/src/Make.config @@ -18,6 +18,10 @@ LD = i386-elf-ld 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