On Wed, Feb 04, 2026 at 04:51:35PM +0000, Bertrand Marquis wrote:
> Hi Roger,
> 
> > On 4 Feb 2026, at 17:24, Roger Pau Monné <[email protected]> wrote:
> > 
> > On Wed, Feb 04, 2026 at 03:45:33PM +0000, Bertrand Marquis wrote:
> >> Hi Jan,
> >> 
> >>> On 4 Feb 2026, at 16:31, Jan Beulich <[email protected]> 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?
> >> 
> >> Yes this is only valid because we use brew in that case.
> >> I will add a comment.
> > 
> > Oh, so you end up building using the GNU toolchain provided by
> > homebrew and not the LLVM one?  Sorry, I was assuming that you did use
> > the native LLVM toolchain when possible.
> 
> I am using the GNU toolchain using brew.
> 
> That would also work using LLVM i guess but the dependency on other GNU
> tools like make and sed would still be there so you would need brew (or 
> something
> else providing gnu make and sed for our build to work).

GNU make is provided by OSX Command Line tools, you shouldn't need to
install it from homebrew.  Same with sed, the one provided by OS X
which is FreeBSD sed should work with the Xen build system (at least
on x86 we attempt to not use GNU extensions to sed).

However, I don't know whether the LLVM toolchain in OS X will be
capable of producing ELF binaries - most likely not, it's likely
limited to the OS X Mach-O format.

> In any case you would require to include StdGNU.mk anyway.
> 
> I am not sure if renaming it is a good idea as you need something GNU friendly
> even if it is not a GNU thing so ....

Hm, yes, it's a POSIX environment plus a GNU compatible toolchain.

Thanks, Roger.

Reply via email to