lab2 Makefile开头的一段
ifndef GCCPREFIX GCCPREFIX := $(shell if i386-ucore-elf-objdump -i 2>&1 | grep '^elf32-i386$$' >/dev/null 2>&1; \ then echo 'i386-ucore-elf-'; \ elif objdump -i 2>&1 | grep 'elf32-i386' >/dev/null 2>&1; \ then echo ''; \ else echo "***" 1>&2; \ echo "*** Error: Couldn't find an i386-ucore-elf version of GCC/binutils." 1>&2; \ echo "*** Is the directory with i386-ucore-elf-gcc in your PATH?" 1>&2; \ echo "*** If your i386-ucore-elf toolchain is installed with a command" 1>&2; \ echo "*** prefix other than 'i386-ucore-elf-', set your GCCPREFIX" 1>&2; \ echo "*** environment variable to that prefix and run 'make' again." 1>&2; \ echo "*** To turn off this error, run 'gmake GCCPREFIX= ...'." 1>&2; \ echo "***" 1>&2; exit 1; fi) endif
是不是笔误?难道有一个叫做
i386-ucore-elf-objdump
的软件包?反正我把这一段用lab1的替换就好了。
希望contributor能够尽快修复这个bug。