On 04.02.2026 17:22, Roger Pau Monné wrote: > On Wed, Feb 04, 2026 at 04:31:12PM +0100, Jan Beulich wrote: >> On 04.02.2026 14:16, Bertrand Marquis wrote: >>> --- /dev/null >>> +++ b/config/Darwin.mk >>> @@ -0,0 +1,4 @@ >>> +include $(XEN_ROOT)/config/StdGNU.mk >> >> Darwin isn't really a GNU environment, is it? The definitions in that file >> may be suitable, but perhaps a brief comment is warranted? > > It's similar to FreeBSD in that regard, which is also not a GNU > environment as the compiler and toolchain is LLVM. However the LLVM > toolchain attempt to be command line and output compatible with the > GNU one AFAIK.
Hmm, FreeBSD (unlike OpenBSD and NetBSD) may be somewhat complicated in this regard. First, I don't think the default compiler used matters. What does matter is behavior in certain (many?) respects. E.g. in GNU binutils ELFOSABI_FREEBSD is treated as equivalent to ELFOSABI_GNU in certain places. So it may be viewed as a "hybrid"? (Of course there are many(?) other things where GNU environments are expected to "behave" in certain ways.) > FreeBSD.mk also includes StdGNU.mk. Maybe we want to rename StdGNU.mk > to generic.mk or common.mk? Not sure here. Jan
