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