darwinbuild | assist compilation of the many projects
kandi X-RAY | darwinbuild Summary
kandi X-RAY | darwinbuild Summary
kevin van vechten william siegrist . darwinbuild is a collection of tools that assist compilation of the many projects contained in darwin[1], the open source base of apple’s mac os x operating system[2]. apple publishes the sources of these projects in an archive format (.tar.gz). an archive is published for each project version on apple’s site[3]. these tools will provide the proper build environment as well as help to resolve any necessary dependencies prior to building. [1] [2] [3] 1.1 availability, bug reports, contributions, and discussion. due to the constant development of darwinbuild, the only version you should be working with is trunk of the subversion repository[1]. trunk should always be stable enough for building projects. if you find a problem or have a enhancement in mind, file
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of darwinbuild
darwinbuild Key Features
darwinbuild Examples and Code Snippets
Community Discussions
Trending Discussions on darwinbuild
QUESTION
Put succinctly I need a base for my system, since it was built on macOS Darwin seems like the logical choice as it will require the least porting effort. I know you can download up to Darwin 8.0.1 from Apple, and the full source tree is available for up to 10.0, however v8 is too old and lacks many standard modern features (i.e. a password system that doesn't restrict the root user to 10 characters, or support for the case-sensitive version of HFS+). I've tried building Darwin 9/10/11/12 from source using darwinbuild
, but it always fails for various server-side reasons.
There has to be some way to create the equivalent of a vanilla Darwin 16 image. Perhaps taking an existing copy of macOS and stripping away all the closed-source stuff? Building the source that Apple provides at Apple Open Source Repository and substituting the rest of the packages required for the OS to function with source from another BSD distro? Taking an existing copy of FreeBSD and substituting the kernel with XNU
? There has to be some way. Any ideas or thoughts on the ideas I suggested are welcome. Thanks.
ANSWER
Answered 2017-Jul-09 at 15:16The last xnu build instructions are for El Capitan (Darwin 15) but you might be able to follow them for Sierra (Darwin 16). The latest source available at time of writing is for 10.12.4, which isn't overly out of date.
This gets you most of the kernel of shipping macOS. It doesn't get you the driver stack - especially the SATA/AHCI stack is not open source, which could be a problem. (One of these days I'll get around to publishing our full virtio driver stack including virtio-blk and virtio-scsi drivers, with which you should be able to run without SATA in Qemu/KVM at least.)
I have no idea about getting a useful userland going - macOS/OSX uses launchd
as its "init" process, and the last published source code for that is some years old. I don't know if it will need some tweaking to get it working on newer kernels.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install darwinbuild
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page