Solved

Linux Source Code

Posted on 2004-10-31
203 Views
Last Modified: 2010-04-20
Hi
I know that Linux is open source. (I love those last two words!)
I know I can obtain the source codes from some places like this:
http://www.ibiblio.org/navigator-bin/navigator.cgi?kernel/sys.c
The question is, suppose that I make a little change to this file. Now can I compile it and use it as a part of my own test Knoppix linux for example?
If yes, how? I want to know more about the compilashon. And a side question: Do I really need to compile it?
And a little more to know about the same thing: I am finding the source code for kernel of linux in the above link. What if I want access to the other part of the OS code, for example thos defining the graphical features or so? Are all of these included in the Kernel code?
Pardon me for asking a question like a dummy!
Huji
0
Question by:huji
    2 Comments
     
    LVL 11

    Accepted Solution

    by:
    http://www.freeos.com/articles/2589/

    describes how to recompile the linux kernel
    so basically you can download the kernel source , make your changes and then recompile

    But I dont think you can do it on your knoppix system ( If you are running linux off the knopix cd that is ) as everything on knopix is run from the precompiled system on your CD and no change is made on your harddisk and you obviously can't out your newly compiled code on the cd ..
    hence I think its advisable to get a real linux which installs on your haddisk  . say Fedora , Mandrake ., debian whatever :)

    Those defining graphical stuff you can get from the site http://xfree86.org/ which has an implementation of the X Window system

    0
     
    LVL 14

    Author Comment

    by:huji
    Thanks avizit
    Huji
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now