From f51bf7dbabfaa59eaa31db72330e56467c6b5a82 Mon Sep 17 00:00:00 2001 From: Chris Novakovic Date: Fri, 21 Nov 2025 12:39:26 +0000 Subject: [PATCH] Use generic default C/C++ tool names Most systems install their default C and C++ compilers to `cc` and `c++` respectively in a directory in `PATH`. Use these compilers as the default C and C++ tools, rather than assuming `gcc` and `g++` are present in `PATH` (this is fudged on macOS, where `/usr/bin/gcc` and `/usr/bin/g++` are actually Apple Clang, and doesn't hold at all on FreeBSD). --- .plzconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.plzconfig b/.plzconfig index a45311b..2c013e1 100644 --- a/.plzconfig +++ b/.plzconfig @@ -30,13 +30,13 @@ Help = The path or build target for the C coverage analysis tool. [PluginConfig "cc_tool"] ConfigKey = CCTool -DefaultValue = gcc +DefaultValue = cc Inherit = true Help = The path or build target for the C compiler tool. [PluginConfig "cpp_tool"] ConfigKey = CPPTool -DefaultValue = g++ +DefaultValue = c++ Inherit = true Help = The path or build target for the C++ compiler tool.