Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a Macbook Pro and I want to build the Linux Kernel. Can I build 3.3.6 on my Mac? How?

share|improve this question
    
If you have gcc, binutils and make, yes... it should be possible. –  diegows May 12 '12 at 18:55
    
@diegows how could I install binutils? I have gcc and make. –  Coder404 May 12 '12 at 19:04
    
You can compile from source on your own or use a nice package manager like Homebrew (mxcl.github.com/homebrew) –  Ben May 12 '12 at 19:21
    
@Ben How do I compile from source? From what website do I get the source –  Coder404 May 12 '12 at 19:53
    
@Coder404 GNU binutils: gnu.org/software/binutils –  Lekensteyn May 12 '12 at 20:13
show 2 more comments

1 Answer 1

up vote 1 down vote accepted

There's an excellent site for newbies about Linux Kernel, it's called kernelnewbies.

You'll find on it an excellent tutorial explaining how you can get the source, configure and compile the Linux Kernel.

But, beware, it's not an easy task. There's really many many many options to look at and to understand before you can start to build a decent one. It can be a little more complicated on Mac OS X, since you won't have any oldconfig ready to recompile.

BTW, there's also an interesting book made by Greg Kroah-Hartman.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.