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. Discover some of these special GCC features and learn how to use them in the Linux kernel.
Permalink for comment 338083
To read all comments associated with this story, please click here.
It is good to have such useful extensions, because it makes the code faster, and decreases chances of errors in the code. Pure C standard isn't enough for the kernel
(and a small part of it is still platform-dependent ASM, anyway).
Portability of the Linux kernel is not in danger because gcc supports enough platforms.
Member since:
2006-01-17
It is good to have such useful extensions, because it makes the code faster, and decreases chances of errors in the code. Pure C standard isn't enough for the kernel
(and a small part of it is still platform-dependent ASM, anyway).
Portability of the Linux kernel is not in danger because gcc supports enough platforms.