Thanks very much, Brian. The information, especially the URLs, will be helpful. I need a different kind of information, however, before I can proceed with the kernel compile. I am very unfamiliar with how OS X and Darwin, and the xnu kernel in particular, interact. So you are saying the external hard drive that I plan on replacing into the mid-2005 imac g5 and upon which I hope to compile a kernel for it needs to be running Leopard? I am pretty sure I can do that since I have the original install disks for the mbp. (I already tried installing directly on the imac g5, but the boot failed. -- I don't have the install disks for the imac g5 anymore.) What I can't figure out is what xnu source to use. On the Apple site "https://opensource.apple.com/tarballs/xnu/" there is a list of xnu source with version numbers, e.g., xnu-3247.1.106.tar.gz. What is the version number equivalent to Leopard? And back to my original question, can I compile a kernel using the "Leopard" xnu source on the mbp's internal drive which runs El Capitan using the latest compiling tools, or do I need to get dtrace and other dependencies at the Leopard level? Are those things even available anymore? Again, thanks so much. Henry Nelson 2017-01-17 8:57 GMT+09:00 Brian Bechtel <brian.bechtel@gmail.com>:
Leopard (10.5) was the last version which supported booting PowerPC machines. SnowLeopard (10.6) allowed you to run PowerPC applications using Rosetta. This is not the same as booting a PowerPC machine.
Depending upon the age of the Intel MacBookPro, it may not be supported by Lion. <https://en.wikipedia.org/wiki/MacBook_Pro#Software_and_operating_systems> and <http://everymac.com> would have more details.
On Mon, Jan 16, 2017 at 3:54 AM, ヘンリー <nbsd4ever@gmail.com> wrote:
I was hoping to cross-compile a kernel for a mid-2005 imac g5 (PowerPC) on a macbook pro (core2duo). Is a cross-compile even possible? If it matters, the target hard disk on the macbook pro has OSX Yosemite installed. I downloaded the xnu source, xnu-3247.1.106.tar.gz, only to find that the only two archetectures that are supported are X86_64 and X86_64H. Assuming that cross-compiling a kernel is possible, what version (tarball name) of the xnu source should I download? Can I use the latest versions of the other dependencies like dtrace and AvailabilityVersions? (I'm mostly using "http://shantonu.blogspot.com/" as a tutorial as this is my first attempt to build a darwin kernel.) Thank you so much.
Henry Nelson _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/darwin-kernel/brian.bechtel%40gmail....
This email sent to brian.bechtel@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com