PDA

Click to See Complete Forum and Search --> : c++ and linux


markman
May 6th, 2002, 04:01 PM
Now that I know a tiny bit of c++ (the 'tiny' <sarcasm>thanks</sarcasm> to my computer teacher) im making a linux partition(s).

How do you do all the editing of the OS that you always hear of. Anyone know about the C++ in linux? any info is good.:)

HarryW
May 6th, 2002, 04:13 PM
There's probably not much C++ in the Linux kernel, it's probably all C, and maybe some assembly for various platforms (I'm not sure, I haven't looked at the source much).

If you want to mess around with the kernel, go to the bash prompt (or whatever shell you're using) and type:

updatedb (this updates the locate database, may not be necessary and may need to be done as root)
locate kernel

look for any .c files that look appropriate in the list.


The general source is probably in /usr/src/linux, and the kernel source is probably in /usr/src/linux/kernel