Results 1 to 5 of 5

Thread: gcc version used to compile Knoppix kernel?

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Location
    Wellington NZ
    Posts
    1

    gcc version used to compile Knoppix kernel?

    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


  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    2.95

  3. #3
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101
    Use this command to compile Nvidia Driver.

    export CC=/usr/bin/gcc-2.95

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    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

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --You will also see the same info if you do a ' dmesg | less '.

    Quote Originally Posted by eadz
    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

Similar Threads

  1. How to compile the kernel ?
    By davidwahlstedt in forum Customising & Remastering
    Replies: 0
    Last Post: 03-17-2005, 05:42 PM
  2. Kernel compile 2.6.6 - only once?
    By davros4269 in forum General Support
    Replies: 14
    Last Post: 07-23-2004, 08:49 AM
  3. knoppix 3.3 feb edition will not compile kernel
    By coindood in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-05-2004, 08:17 AM
  4. Kernel compile problem - first Knoppix kernel compile
    By Nigel_Tufnel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-20-2003, 01:09 PM
  5. how to compile kernel ?
    By nhoxanh in forum General Support
    Replies: 0
    Last Post: 07-28-2003, 04:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock picture

AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock

$75.00



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$45.96



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread picture

Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread

$539.99



Intel Core i9-14900KF Unlocked Desktop Processor picture

Intel Core i9-14900KF Unlocked Desktop Processor

$579.99



AMD Ryzen 7 5800X Processor (4.7GHz, 8 Cores, Socket AM4) Box - 100-100000063WOF picture

AMD Ryzen 7 5800X Processor (4.7GHz, 8 Cores, Socket AM4) Box - 100-100000063WOF

$159.99



AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -... picture

AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -...

$259.99