Building Darwin 9 on a PowerBook G4 for a i386 PC
PowerBook G4 / Mac OS X 10.5.4 / Xcode 3.1 Can darwinbuild be used for building Darwin 9.4 for a i386 PC an a PowerBook G4, or is this script meant to build Darwin for Macs only? Best regards Rolf
On Sep 10, 2008, at 1:27 PM, Dr. Rolf Jansen wrote:
PowerBook G4 / Mac OS X 10.5.4 / Xcode 3.1
Can darwinbuild be used for building Darwin 9.4 for a i386 PC an a PowerBook G4, or is this script meant to build Darwin for Macs only?
DarwinBuild is meant to assist in building darwin projects by automatically handling dependencies, selection of build tool, etc. I have not done what you're asking about, but it seems possible. -Bill
Am 10.09.2008 um 17:43 schrieb William Siegrist:
On Sep 10, 2008, at 1:27 PM, Dr. Rolf Jansen wrote:
PowerBook G4 / Mac OS X 10.5.4 / Xcode 3.1
Can darwinbuild be used for building Darwin 9.4 for a i386 PC an a PowerBook G4, or is this script meant to build Darwin for Macs only?
DarwinBuild is meant to assist in building darwin projects by automatically handling dependencies, selection of build tool, etc. I have not done what you're asking about, but it seems possible.
-Bill
OK, I gave it a try: hdiutil create -size 16g -type UDIF -fs HFSX -volname Builds\ -uid 0 -gid 0 -attach Builds.dmg sudo vsdbutil -a /Volumes/Builds cd /Volumes/Builds sudo -s mkdir Build9E17 cd Build9E17 darwinbuild -init 9E17 cp .build/9E17.plist .build/i386PC.plist nano .build/i386PC.plist ### enter and save the following content // !$*UTF8*$! { build = i386PC; darwin = "Darwin 9.4"; inherits = 9E17; environment = { INSTALLED_PRODUCT_ASIDES = YES; MACOSX_DEPLOYMENT_TARGET = 10.5; NEXT_ROOT = ""; RC_ARCHS = "i386"; RC_JASPER = YES; RC_NONARCH_CFLAGS = "-pipe -no-cpp-precomp"; RC_OS = darwin; RC_PRIVATE = /private; RC_RELEASE = Leopard; RC_XBS = YES; SEPARATE_STRIP = YES; UNAME_RELEASE = 9.0; UNAME_SYSNAME = Darwin; }; } ### continue at the CLI darwinxref loadIndex .build/i386PC.plist darwinbuild -load CF /usr/local/share/darwinbuild/installXcode /Volumes/Builds/Build9E17/ BuildRoot darwinbuild -build=i386PC xnu Finally: [ /SourceCache/xnu/xnu-1228.5.20/ ] make do_build_install RELEASE I386 /private/var/tmp/xnu/xnu-1228.5.20.obj/RELEASE_I386/. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++ BUILD TIME: 0h 17m 40s EXIT STATUS: 0 40755 0 0 0 ./System 40755 0 0 0 ./System/Library 40755 0 0 0 ./System/Library/ Extensions 40755 0 0 0 ./System/Library/ Extensions/IPFirewall.kext 7aeb707e56ff26fc9ddf88a91914f77cde48ecfc 100644 0 0 797 ./System/ Library/Extensions/IPFirewall.kext/Info.plist ... ... ... 5975e5ed3daff6e35d8f87637bf29d4188f3ec62 100444 0 0 16 ./usr/share/man/ man9/suulong.9 5975e5ed3daff6e35d8f87637bf29d4188f3ec62 100444 0 0 16 ./usr/share/man/ man9/suword.9 Seems, that I have a i386 Darwin 9.4 kernel now, I will try it out tomorrow at the PC and then let you know the result. Best regards Rolf
Am 10.09.2008 um 21:09 schrieb Dr. Rolf Jansen:
Am 10.09.2008 um 17:43 schrieb William Siegrist:
On Sep 10, 2008, at 1:27 PM, Dr. Rolf Jansen wrote:
PowerBook G4 / Mac OS X 10.5.4 / Xcode 3.1
Can darwinbuild be used for building Darwin 9.4 for a i386 PC an a PowerBook G4, or is this script meant to build Darwin for Macs only?
DarwinBuild is meant to assist in building darwin projects by automatically handling dependencies, selection of build tool, etc. I have not done what you're asking about, but it seems possible.
-Bill
OK, I gave it a try:
...
Seems, that I have a i386 Darwin 9.4 kernel now, I will try it out tomorrow at the PC and then let you know the result.
Best regards
Rolf
I continued building projects for i386PC and I tried to deploy them to the PC, and up to now to no avail. I am clueless how this can be done, because I failed to build a bootable CD. I assume, that this is the wrong list for asking questions on Darwin 9 deployment on regular PC's, therefore, I will join the Darwin-x86 list and perhaps ask sometimes some questions there. Best regards Rolf
Hi, Rolf. I'm trying to do something similar and as far as I can see there isn't any particular "right" list to subscribe to. I'm also beginning to wonder whether it's actually possible to get a complete Darwin (separate from OS X) system ... but anyway. Firstly, there are still images of Darwin 8.0.1 for x86 (equivalent to the underpinnings of 10.4) available here: http://gulus.usherbrooke.ca/pub/distro/gnu-darwin/ (yes, it's over three years old). You might like to give that a try: it boots and installs without any extra work, and proves that at least it can be done. If you want to continue trying to build 9.4 for yourself, you can do worse than read this: http://tgwbd.org/darwin/ which explains some of the issues and how the Author's already solved some of them. You'll also need a working boot loader, the source code for which you can get from the same site. As I see it, there are two main issues: firstly, Darwin is an entire operating system, which means there's quite a lot of components to build, which is a pain since no-one's producing pre-build CDs any more. Secondly, what source is available has issues. But I guess the more people who take an interest, the quicker these should get spotted and fixed. I hope some of this is of a little help. Stuart Crook On 11 Sep 2008, at 20:24, Dr. Rolf Jansen wrote:
I continued building projects for i386PC and I tried to deploy them to the PC, and up to now to no avail. I am clueless how this can be done, because I failed to build a bootable CD. I assume, that this is the wrong list for asking questions on Darwin 9 deployment on regular PC's, therefore, I will join the Darwin-x86 list and perhaps ask sometimes some questions there.
Best regards
Rolf
_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
You both should look into PureDarwin. http://www.puredarwin.org/ http://www.puredarwin.org/screenshots -Bill On Sep 11, 2008, at 12:45 PM, Stuart Crook wrote:
Hi, Rolf. I'm trying to do something similar and as far as I can see there isn't any particular "right" list to subscribe to. I'm also beginning to wonder whether it's actually possible to get a complete Darwin (separate from OS X) system ... but anyway.
Firstly, there are still images of Darwin 8.0.1 for x86 (equivalent to the underpinnings of 10.4) available here: http://gulus.usherbrooke.ca/pub/distro/gnu-darwin/ (yes, it's over three years old). You might like to give that a try: it boots and installs without any extra work, and proves that at least it can be done.
If you want to continue trying to build 9.4 for yourself, you can do worse than read this: http://tgwbd.org/darwin/ which explains some of the issues and how the Author's already solved some of them. You'll also need a working boot loader, the source code for which you can get from the same site.
As I see it, there are two main issues: firstly, Darwin is an entire operating system, which means there's quite a lot of components to build, which is a pain since no-one's producing pre-build CDs any more. Secondly, what source is available has issues. But I guess the more people who take an interest, the quicker these should get spotted and fixed.
I hope some of this is of a little help.
Stuart Crook
On 11 Sep 2008, at 20:24, Dr. Rolf Jansen wrote:
I continued building projects for i386PC and I tried to deploy them to the PC, and up to now to no avail. I am clueless how this can be done, because I failed to build a bootable CD. I assume, that this is the wrong list for asking questions on Darwin 9 deployment on regular PC's, therefore, I will join the Darwin-x86 list and perhaps ask sometimes some questions there.
Best regards
Rolf
_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
---- William Siegrist Mac OS Forge http://macosforge.org/
Many thanks for the pointer, this really seems to be what I was looking for since the last few days. Best regards Rolf Am 11.09.2008 um 17:08 schrieb William Siegrist:
You both should look into PureDarwin.
http://www.puredarwin.org/screenshots
-Bill
On Sep 11, 2008, at 12:45 PM, Stuart Crook wrote:
Hi, Rolf. I'm trying to do something similar and as far as I can see there isn't any particular "right" list to subscribe to. I'm also beginning to wonder whether it's actually possible to get a complete Darwin (separate from OS X) system ... but anyway.
Firstly, there are still images of Darwin 8.0.1 for x86 (equivalent to the underpinnings of 10.4) available here: http://gulus.usherbrooke.ca/pub/distro/gnu-darwin/ (yes, it's over three years old). You might like to give that a try: it boots and installs without any extra work, and proves that at least it can be done.
If you want to continue trying to build 9.4 for yourself, you can do worse than read this: http://tgwbd.org/darwin/ which explains some of the issues and how the Author's already solved some of them. You'll also need a working boot loader, the source code for which you can get from the same site.
As I see it, there are two main issues: firstly, Darwin is an entire operating system, which means there's quite a lot of components to build, which is a pain since no-one's producing pre-build CDs any more. Secondly, what source is available has issues. But I guess the more people who take an interest, the quicker these should get spotted and fixed.
I hope some of this is of a little help.
Stuart Crook
On 11 Sep 2008, at 20:24, Dr. Rolf Jansen wrote:
I continued building projects for i386PC and I tried to deploy them to the PC, and up to now to no avail. I am clueless how this can be done, because I failed to build a bootable CD. I assume, that this is the wrong list for asking questions on Darwin 9 deployment on regular PC's, therefore, I will join the Darwin-x86 list and perhaps ask sometimes some questions there.
Best regards
Rolf
_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
---- William Siegrist Mac OS Forge http://macosforge.org/
participants (3)
-
Dr. Rolf Jansen
-
Stuart Crook
-
William Siegrist