PDA

View Full Version : gcc version used to compile Knoppix kernel?



thincritter
03-19-2003, 02:44 PM
Hi all,
Can anyone tell me how to tell which vesion of gcc the knoppix kernel was compiled with? I am trying to compile NVIDIA kernel driver and getting an error because the kernel was compiled with a different gcc version.
If I can't find this out I have to figure out how to hack the make file to ignore the gcc version when compiling.
Cheers
Paul

:?:

eadz
06-25-2003, 02:21 AM
2.95

TheCyberDude
06-25-2003, 11:46 AM
Use this command to compile Nvidia Driver.

export CC=/usr/bin/gcc-2.95

eadz
06-29-2003, 06:07 PM
Ahh I found out how to find out the version used to compile the running kernel :

# cat /proc/version

Linux version 2.4.20-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Mit Mär 26 15:37:36 CET 2003

Dave_Bechtel
07-01-2003, 03:10 AM
--You will also see the same info if you do a ' dmesg | less '.


Ahh I found out how to find out the version used to compile the running kernel :

# cat /proc/version

Linux version 2.4.20-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Mit Mär 26 15:37:36 CET 2003