PDA

View Full Version : Mac OS X kernel compiling tutorial, part V


MacBytes
Jan 14, 2004, 03:50 PM
Category: Tips and How To's
Link: Mac OS X kernel compiling tutorial, part V (http://www.macbytes.com/link.php?sid=20040114165028)

Posted on MacBytes.com (http://www.macbytes.com)

Approved by Mudbug

cb911
Jan 14, 2004, 06:17 PM
hhmmm.... i don't quite understand why you would want to do anything like this, but there must be people out there that love this sort of stuff.

Nermal
Jan 14, 2004, 09:27 PM
I think it's for the "Linux geeks" who miss getting their kick since switching to OS X :p

Xenex
Jan 14, 2004, 11:28 PM
Like pieces of a jigsaw puzzle, these articles simply do not work on their own.

ppcnerds.org should have posted one article, not five article fragments.

Nermal
Jan 14, 2004, 11:36 PM
"Next article will be on Open Firmware tips for booting a particular kernel in case something goes wrong."

Looks like there's going to be yet another one.

revenuee
Jan 14, 2004, 11:49 PM
*breaking into seizure *

this is the for serious code monkey - kids don't try this at home

marco_ppc
Jan 15, 2004, 12:47 AM
a bunch of replies for you :) (as i am the author of that little tutorial).

I understand the articles are not that well written and the approach is not that linear. But usually when you find such tutorials you tend to read them really in hurry, just copy the commands and execute them. We thought a different approach, trying to talk a little about every step for Mach kernel compiling (or xnu, if you like it better).

We have not considered grouping all the articles in one big resume just cause we got no feedback at all from user needing one big article, in truth.

The serie of articles, in my opinion, shows that recompiling the kernel is not difficult at all. Of course, you can put yoour box in unbootable state, but it is quite clear you won't do it for the first time on a production machine :)

have a nice day :)

Xenex
Jan 15, 2004, 01:50 AM
Originally posted by marco_ppc
We have not considered grouping all the articles in one big resume just cause we got no feedback at all from user needing one big article, in truth.But my comment was feedback! ;)

Originally posted by marco_ppc
The serie of articles, in my opinion, shows that recompiling the kernel is not difficult at all.The problem is, by trickling these pieces out, right now people can't sit down and follow these directions to a conclusion.

I guess you'd be happy you've managed to get yourselves listed on MacBytes five days straight, though...

marco_ppc
Jan 15, 2004, 02:37 AM
Originally posted by Xenex
But my comment was feedback! ;)


right, it would be great to have more comments and suggestions.


The problem is, by trickling these pieces out, right now people can't sit down and follow these directions to a conclusion.

argh, and we thought it was a good approach!!
The logic behind the choice was this: in first article you already manage to build your kernel. But at that point, except from compiling something with few commands, you know nothing. By the way in the first article you already get a kernel you can run.
The second article is to say: "well, you compiled, but what did you compile?". It was a way to introduce CVS source checkout, which is not that popular generally among people using Mac OS X, imo.
The third article was about the few configurations you can place at the moment and the fourth was about the possibility of compiling a multi-architecture kernel. The fifth one is about taking the kernel you compiled and booting it.
This was the general scheme we did and respected. Maybe it is not that linear, but we thought it was good.

I guess you'd be happy you've managed to get yourselves listed on MacBytes five days straight, though...
sure!! having people reading what you write
is almost always a pleasure. And even more if you write for fun :)