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
  •