Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43144 )
Change subject: util/xcompile: Look for the host compiler in XGCCPATH, too (and first) ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43144/5/util/xcompile/xcompile File util/xcompile/xcompile:
https://review.coreboot.org/c/coreboot/+/43144/5/util/xcompile/xcompile@76 PS5, Line 76: die "no host C++ compiler found"
Do we always need one?
We needed it in the past for cbfstool's lzma (until Stefan ripped the c++ code out in CB:3010), so I guess that's where the always-present HOSTCXX in our build system came from.
Right now it's only needed for kconfig's Qt frontend. Given that limited remaining scope, I made HOSTCXX optional (but failing at runtime if it's used with no c++ compiler to be found.)