From f00fde46f6d6ead7855e0500a9fcfebfe9d60398 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Fri, 13 Aug 2021 13:05:08 -0700 Subject: [PATCH] Meta: Tell user which Toolchain ARCH they need to build There was some understandable confusion about this error now that we have multiple toolchains. --- Kernel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index 2d0f3b53c3..49e88def7a 100644 --- a/Kernel/CMakeLists.txt +++ b/Kernel/CMakeLists.txt @@ -447,7 +447,7 @@ elseif (USE_CLANG_TOOLCHAIN) include_directories("${TOOLCHAIN_ROOT}/include/c++/v1") else() if (NOT EXISTS ${TOOLCHAIN_ROOT}/${SERENITY_ARCH}-pc-serenity/include/c++/${GCC_VERSION}/) - message(FATAL_ERROR "Toolchain version ${GCC_VERSION} appears to be missing! Please run: Meta/serenity.sh rebuild-toolchain") + message(FATAL_ERROR "Toolchain version ${GCC_VERSION} (${SERENITY_ARCH}) appears to be missing! Please run: Meta/serenity.sh rebuild-toolchain ${SERENITY_ARCH}") endif() include_directories(${TOOLCHAIN_ROOT}/${SERENITY_ARCH}-pc-serenity/include/c++/${GCC_VERSION}/) include_directories(${TOOLCHAIN_ROOT}/${SERENITY_ARCH}-pc-serenity/include/c++/${GCC_VERSION}/${SERENITY_ARCH}-pc-serenity/)