Linux Find Out GNU gcc Compiler Version Used To Compile Running Kernel

https://‮ual.www‬tturi.com
Linux Find Out GNU gcc Compiler Version Used To Compile Running Kernel

To find out the GNU GCC compiler version used to compile the running Linux kernel, you can use the gcc --version command.

The gcc command is the GNU Compiler Collection, which includes the C, C++, and other compilers. The --version option tells gcc to display the version information.

For example, to find out the GCC compiler version used to compile the running kernel, you can use the following command:

gcc --version

This will display the version information for the GCC compiler that is installed on the system.

To find out the GCC compiler version used to compile the running kernel, you can also use the uname command with the -v option.

For example:

uname -v

This will display the version information for the running kernel, which may include the GCC compiler version used to compile it.

You can find more information about the gcc and uname commands and their options in the Linux documentation or by running the gcc --help and uname --help commands.

Keep in mind that the GCC compiler version used to compile the kernel may not be the same as the version of the GCC compiler that is installed on the system. The kernel may have been compiled with an older or newer version of the GCC compiler.

You can find more information about the kernel and its compilation process in the Linux documentation or by searching online.

Created Time:2017-10-29 22:08:54  Author:lautturi