/proc/version

I‘ve multiple version of gcc installed on my systems as follows:

ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root 7 Jan 11 05:20 /usr/bin/gcc -> gcc-4.4
-rwxr-xr-x 1 root root 239528 Sep 21 2010 /usr/bin/gcc-4.3
-rwxr-xr-x 1 root root 255536 Nov 15 2010 /usr/bin/gcc-4.4

I need to build a nvidia device driver using the same version of GNU compiler as was used to compile the currently running kernel. How do I find out the version of my GNU gcc compiler that was used by upstream Linux distribution to compile and pack my binary Linux kernel?

{ 1 comment }

I am a new Linux system user and MS-Windows XP refugees. How do I check Linux kernel version using a shell prompt?

{ 0 comments }

I am a new Ubuntu Linux user and purchased a laptop from Dell with per-installed Ubuntu operating systems. How do I find the Linux kernel version and Ubuntu release version using the terminal application?

{ 1 comment }

How do I find out my Linux kernel version? How can I find the kernel version at shell prompt on Linux?

{ 0 comments }

How do I find out what kernel version I am currently running under Debian Linux or any other Linux distribution using a shell prompt? How do I find out Unix kernel version?

{ 27 comments }

How do I find out what version of Linux distribution I’m using from the shell (bash) prompt?

{ 55 comments }