From 8e04ae917f013f3944114fddd1286dfea86a010a Mon Sep 17 00:00:00 2001 From: Billy <1184136+philtyl@users.noreply.github.com> Date: Mon, 20 Mar 2023 15:07:18 +0000 Subject: [PATCH] Improve missing mips-linux-gnu error message (#1497) * Improve error message and match up with https://github.com/zeldaret/mm/pull/1173 * Update Makefile More descriptive error messaging Co-authored-by: Dragorn421 --------- Co-authored-by: Dragorn421 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c5723d90eb..a645ae3109 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ N_THREADS ?= $(shell nproc) #### Tools #### ifneq ($(shell type $(MIPS_BINUTILS_PREFIX)ld >/dev/null 2>/dev/null; echo $$?), 0) - $(error Please install or build $(MIPS_BINUTILS_PREFIX)) + $(error Unable to find $(MIPS_BINUTILS_PREFIX)ld. Please install or build MIPS binutils, commonly mips-linux-gnu. (or set MIPS_BINUTILS_PREFIX if your MIPS binutils install uses another prefix)) endif # Detect compiler and set variables appropriately.