Hacker News new | ask | show | jobs
by Jommi 2932 days ago
Do you think I can compile linux from source, and implement a new module without knowing C++? (Coming from python)

I dont mean creating a whole functional module, but more like using an example, modifying some values, adding it to the kernel and compiling.

2 comments

You will need to know the C language, not C++. As with many things you will follow an example, then another, then after a few you will walk using your own legs.

To build a module you don't need to build the kernel, but you do need the kernel headers, you will understand all this once you get to understand a bit of C language, and a bit of assembly won't hurt. Start with MIPS.

You do need a good grasp on the C language, and a lot of time.

Recompiling the kernel used to be something you just did for some things.

If you can drive the command line and a makefile you should be able to tinker, and render it unable to boot. :)