You are not logged in.

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

Schala
Member
Registered: 2012-02-14
Posts: 42
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 X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

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

Awebb
Member
Registered: 2010-05-06
Posts: 4,124

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: 42
Website

Re: Arch-Darwin a possibility?

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


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

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

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

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: 5,661

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)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

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

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

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!


AMD Athlon 64 X2 4200+ - 8GB - GeForce 970 AwesomeWM (occasionally XFCE, i3)

If everything in life was easy, we would learn nothing!
Linux User: 401820   Last FM

Offline

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

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,327
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