From 4d4e7ad01e949c53a15312c9b5053faf6a652572 Mon Sep 17 00:00:00 2001 From: Pascal Abresch Date: Fri, 10 Apr 2026 19:18:00 +0200 Subject: [PATCH] configure: warn when gcc_syslibs_devel is not installed Change-Id: I03177c7afcde64088cfed5e68c3823f69bd8a8bc Reviewed-on: https://review.haiku-os.org/c/haiku/+/10713 Reviewed-by: waddlesplash --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index 81bf65294d..2f1cb417fc 100755 --- a/configure +++ b/configure @@ -328,6 +328,13 @@ standard_gcc_settings() bootLibgcc=`$gcc -print-file-name=libgcc.a` bootLibSupCxx=`$gcc -print-file-name=libsupc++.a` + if [ "$bootLibSupCxx" = "libsupc++.a" ]; then + echo "libsupc++.a could not be found!" + if [ "$HOST_PLATFORM" = "haiku_host" ]; then + echo "try installing gcc_syslibs_devel or using the cross-tools" + fi + exit 1 + fi local headersBase=$gccdir/../../../.. local headers=$headersBase/$gccMachine/include/c++/$gccRawVersion if [ ! -d $headers ]; then