≡ Menu

gcc extensions

GNU/GCC Compiler Techniques Used in Linux Kernel

Excellent article – you can find information about GCC extensions for the C language. The Linux kernel uses several special capabilities of the GNU Compiler Collection (GCC) suite. These capabilities range from giving you shortcuts and simplifications to providing the compiler with hints for optimization.

This article provides a glimpse of the techniques made available by GCC in the Linux kernel. You can read more about all the available extensions for both C and C++ in the GNU GCC manual.