Category Archives: linux kernel

Linking C++ to C code using gcc

I encountered a strange problem recently. I had a C++ file which used certain custom system calls. The system calls had a few initialization functions to be performed before their usage. It was obvious that i needed a library for … Continue reading

Posted in linux, linux kernel, tutorials | 4 Comments

Compiling the Kernel

Compiling a kernel is just a sequence of simple make commands… But before that you gotta make sure of the following… 1. Move the kernel you want to compile to /usr/src 2. Change to the directory where your kernel is … Continue reading

Posted in kernel, linux, linux kernel, tutorials | Leave a comment

Compiling Older Linux Kernels- Preparations

All kernel hackers will need to compile kernels sometime for sure… However before compiling a kernel there may be some issues you need to take care of. If you are compiling older kernels, like kernel versions before 2.4.x you’ll need … Continue reading

Posted in kernel, linux, linux kernel, tutorials | 3 Comments

The Kernel Source

I am doing a project and it deals with kernel programming. In the course of this project i’ve realized how little documentation about the kernel source code is available, however the kernel is changing everyday and it would be impractical … Continue reading

Posted in kernel, linux, linux kernel | 2 Comments