Installing GNU compilers on PureDarwin/Darwin? I hope this is not off-topic, because there is no better place to ask this sort of questions on SO/SE. I have Downloaded and ran PureDarwin on QEMU using instructions here:


                    


Now I want to know if there are any package managers? Can I install HomeBrew preferably here for example or even MacPorts? If none possible how can I install GNU C/C++/Fortran compilers (GCC/g++/gfortran) here? or if it is not a possibility is there any compiler on this operating system at all? My goal is eventually to provide some Open Source developers who don't have macs with an alternative to test their software or maybe create macOS compatible binaries/packages if possible. Thanks for your support in advance.
Your link is broken to the instructions.

FYI, the point of macOS is, to a large degree, the fact that it IS a walled garden. Having control over the entire hardware and software stack lets Apple provide a seamless, polished service and products at a premium cost.

As far as Homebrew goes, as a maintainer, I have zero optimism that it will work at all, unless the Linux version can be coerced to get installed and/or run, then maybe it could work (no promises) but will likely require a lot of time compiling things. Normal Homebrew (on macOS) checks for Xcode CLT and other very macOS specific stuff that won't be present in Pure Darwin. I think Homebrew on Linux will also fail because it looks for Linux headers, etc.

No matter what, this is an unsupported configuration for Homebrew and I'm 99% sure it won't work, but would be curious to learn where it fails.

I would assume/guess PureDarwin has some sort of package manager, or a package manager planned? Maybe?