• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building XNU fat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building XNU fat


  • Subject: Building XNU fat
  • From: Graham J Lee <email@hidden>
  • Date: Thu, 10 Aug 2006 17:29:22 -0700

Hi,

The README for xnu-792.10.96 from kernel.macosforge.org states that to build a fat kernel, a tool called "~rc/bin/buildit" is used. Obviously, I don't have a user 'rc' but I also don't appear to have a file called buildit anywhere on the filesystem. I've created a couple of scripts[*] which can look for Mach-O files in the build results common between the two ARCHs, and generate fat files in BUILD/obj/ RELEASE_FAT/. I don't have a PPC box with me at the moment so have no idea how useful the resulting PPC kernel would be; I'm guessing the answer is 'not very much' though ;-) Still, as an academic exercise, it's done.

[*]These could also be used to roll up a fat Fink...so anyone who went to my UKUUG talk and wondered why I left it as an exercise to the reader can breathe easy now ;-) A more robust version of this script would discover non-Mach-O files and arch-specific Mach-O files and copy those into the fat root too.

http://users.ox.ac.uk/~wadh1342/ismach.sh
http://users.ox.ac.uk/~wadh1342/mkfatxnu.pl
There's no licence boilerplate on these files but please feel free to distribute them under the terms of the APSL version 2.0.


Cheers,

Graham.
--
Graham Lee
"Oxford University's UNIX Expert"
Quick, run before they find the truth
http://iamleeg.blogspot.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Building XNU fat
      • From: Ben Byer <email@hidden>
  • Prev by Date: Re: SSH issue on MacMini (Intel)
  • Next by Date: Re: Building XNU fat
  • Previous by thread: Re: SSH issue on MacMini (Intel)
  • Next by thread: Re: Building XNU fat
  • Index(es):
    • Date
    • Thread