On Wed, Feb 04, 2026 at 04:31:12PM +0100, Jan Beulich wrote:
> On 04.02.2026 14:16, Bertrand Marquis wrote:
> > Xen does not currently document how to build the hypervisor on macOS, and
> > there is no Darwin configuration for a Homebrew-based toolchain. In
> > addition, the Makefile silent-mode detection can be tripped by -I paths
> > that contain an "s", which hides build commands unexpectedly.
> 
> This wants submitting as a standalone fix, so it can be backported. But see
> also below. I don't, however, understand how -I could be useful here - our
> build system is self-contained, so any include directives used should be
> satisfiable without any -I.
> 
> > --- /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.

FreeBSD.mk also includes StdGNU.mk.  Maybe we want to rename StdGNU.mk
to generic.mk or common.mk?

Thanks, Roger.

Reply via email to