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
  •  


Lenovo ThinkPad Laptop PC 15

Lenovo ThinkPad Laptop PC 15" FHD Core i5 16GB RAM 256GB SSD Windows 10 Pro HDMI

$239.99



Lenovo ThinkPad Laptop PC Computer 15.6

Lenovo ThinkPad Laptop PC Computer 15.6" Core i5 8GB RAM 256GB SSD Windows 11

$188.57



Lenovo ThinkPad E, AMD, 8GB RAM, 256GB SSD, No OS, 20T80005US picture

Lenovo ThinkPad E, AMD, 8GB RAM, 256GB SSD, No OS, 20T80005US

$200.00



Lenovo ThinkPad T560 15.6

Lenovo ThinkPad T560 15.6" FHD Laptop PC Intel i7 8GB Ram 256GB SSD Fingerprint

$117.00



Lenovo Ideapad 1 14

Lenovo Ideapad 1 14" Laptop - Celeron N4020 with 4GB Memory - Intel UHD Graph...

$149.99



Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen picture

Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen

$279.99



Lenovo ThinkPad T480S 1920x1080 14

Lenovo ThinkPad T480S 1920x1080 14"Laptop i7-8650U 1.9GHz 512GB SSD 24GB RAM

$152.98



LENOVO 14

LENOVO 14" THINKPAD L480 INTEL CORE I5-8250U NO HDD/CADDY/OS 8GB SKU#56805

$39.99



Lenovo ThinkPad T480 14ā€¯ Touch i5-7300U 2.6GHz 16GB RAM 512GB SSD WIN11 READ picture

Lenovo ThinkPad T480 14ā€¯ Touch i5-7300U 2.6GHz 16GB RAM 512GB SSD WIN11 READ

$129.00



Lenovo ThinkPad X1 Nano 13

Lenovo ThinkPad X1 Nano 13" Touchscreen 2K i7-1180G7 16GB/256GB Win 10 Pro

$498.99