You are not logged in.

#1 2013-11-30 21:22:38

Schala
Member
Registered: 2012-02-14
Posts: 72
Website

Arch-Darwin a possibility?

I had a rather peculiar thought recently. With the emergence of Arch-BSD, and the existence of Arch-Linux and Arch-HURD, I was thinking maybe someone could start Arch-Darwin? Apple does have Darwin open sourced and there exists a pretty neat third party Darwin distribution called PureDarwin I tested on Virtual Box. I was thinking with some tweaks from the source download on http://opensource.apple.com, a possible Arch-Darwin distribution is a safe bet?

It's just my two cents.


Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit

Offline

#2 2013-12-01 02:16:51

Awebb
Member
Registered: 2010-05-06
Posts: 6,640

Re: Arch-Darwin a possibility?

Does the GNU userland run on Darwin? Does pacman? We can safely assume, that systemd won't. How do you define Arch-$KERNEL? Is it just a pacman driven operating system following the Arch way?

Offline

#3 2013-12-01 02:29:48

Schala
Member
Registered: 2012-02-14
Posts: 72
Website

Re: Arch-Darwin a possibility?

Seeing as pacman's a bash script, I'm sure it can be modified.


Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit

Offline

#4 2013-12-01 02:30:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch-Darwin a possibility?

Schala wrote:

Seeing as pacman's a bash script, I'm sure it can be modified.

makepkg is a bash script, pacman is written in C.

Offline

#5 2013-12-01 04:05:47

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,152

Re: Arch-Darwin a possibility?

GNU's stuff should run on Darwin. At least, gcc etc. were provided by Apple or could be compiled from source (even on PPC Macs). Similarly for the autoconfig stuff.

No idea about pacman. C isn't a problem. Depends on what the C is doing, I guess.

systemd, I would assume not unless it runs on the BSDs, in which case it should be possible, in theory I suppose.

I'm not terribly clear why somebody would want to do this, except to see if it can be done, but that's a different question.

EDIT: Note that if Apple are now releasing something which you can actually compile into a working system, they have come a long way since their earlier releases when Darwin was unusable without binary blobs (I don't mean firmware) and didn't actually tend to work even with them.

Last edited by cfr (2013-12-01 04:08:41)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-12-01 16:34:08

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 324

Re: Arch-Darwin a possibility?

cfr wrote:

systemd, I would assume not unless it runs on the BSDs, in which case it should be possible, in theory I suppose.

systemd does not & never natively will run on anything other than a linux kernel this is stated by Lennart himself but obviously you could fork it!


ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)

If everything in life was easy, we would learn nothing!
Linux User: 401820  Steam-HearThis.at-Last FM-Reddit

Offline

#7 2013-12-02 09:05:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,482
Website

Re: Arch-Darwin a possibility?

pacman should compile.  makepkg might have issues with some features that require ELF binaries.

Offline

Board footer

Powered by FluxBB