LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   reading source? (https://www.linuxquestions.org/questions/programming-9/reading-source-208056/)

The_Insomniac 07-21-2004 07:32 PM

reading source?
 
I was going through my various spare kernel howtos and such and I happened upon various statements and walkthroughs of recompiling. It was talking alot about the source and such. And I was wondering if somehow I can just read the direct source code. Running slackware 9.1 btw.

Thanks

eric.r.turner 07-21-2004 08:30 PM

Look in /usr/src/linux. If it isn't there then download and install the package from http://www.slackware.com/pb/search.p...&string=source (then look in /usr/src/linux ).

itsme86 07-21-2004 08:52 PM

Source files (for C/C++ anyway) will end in something like .c, .cpp, or .C. You can look at these using any text editor.

infamous41md 07-21-2004 09:45 PM

download the exuberant ctags program from sourceforge, for reading.

Kumar 07-22-2004 01:28 AM

How about using lxr??


All times are GMT -5. The time now is 01:39 AM.