Quote:
Originally Posted by urfi
he is not teaching linux only but giving us concepts. This is just an assignment for a month.
|
I think you took my comment the opposite of what I meant. I do not think it is wrong to teach OS internals using only Linux as an example. I think it is wrong to teach OS internals at all to students that only know how to use Windows.
Quote:
The task was to take Debian Linux source code and fix two bugs.
|
Taken literally, I think that would mean fixing bugs in one of the few parts of Debian Linux that is exclusive to Debian Linux. Almost all of Debian Linux, including the kernel, is built from unmodified source code from other projects. Bug fixes occur in those projects, not in Debian itself.
Fixing and testing bug in some utility that is part of Debian (whether exclusive to it or not) would be much easier than fixing and testing a kernel bug.
Even that, in one month starting without Linux experience, is a very aggressive schedule.
Quote:
Originally Posted by urfi
U mean that i dont need to install anything.
|
I'm sure he didn't mean that.
Compiling and testing any part of Linux without a Linux install would be insanely difficult.
You need to install Linux in a physical or virtual machine before even starting to try to work on any bug in any part of Linux.
Quote:
Originally Posted by urfi
First of all tell me is it c code and which is best tool to work with this source code.
|
Almost all of "Debian Linux" is written in C. The best tool for editing C code is whatever tool you have experience using.
For me, that is Windows Visual Studio. So when I want to work on serious projects in Linux, I
Make a Samba share on the Linux system so my work directory on Linux can be mounted as a drive letter in Windows.
Open a cygwin putty window in Windows so I can issue make commands on the Linux system.
Edit the source code in Visual Studio on Windows and compile/test it in Linux via putty.
I expect you don't know how to set up Samba in Linux nor how to set up cygwin putty in Windows. But if you are a Windows user trying to start working in Linux, you ought to learn such things first (and apparently quickly).
If you want to fix and test anything that is a GUI in Linux, you may also want to set up cygwin xwin so you can use your Windows screen, mouse and keyboard for Linux GUI work.
If you were starting new small projects in Linux, I would suggest using an IDE such as CodeBlocks or KDE. But for making small changes to an existing big project (with existing makefile, etc.) you want to use a text editor that you are already comfortable with.