Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    changing gcc version


    I am trying to install the nvidia driver and when the installer is trying to compile the kernel module it complains about that the kernel is compiled with gcc 3.4 and am using gcc 4.0.

    I have also installed gcc 3.4, but it seems I have to set a variable so the installer uses 3.4 insted of the newer...

    My question is how i do this?

    I am using kubuntu 5.10 and have tried to install with adept, but I dont get the nvidia splash screen on start up so I am guessing that does not work either...

    please help a linux beginner

  2. #2
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Syracuse, NY
    I've never use kubuntu or any derivitive of it but in gentoo you can issue the

    gcc-config -l
    this lists the versions of gcc you have installed with [number] ex. [1]

    then you pick what version you want to use with

    gcc-config 1       (or whatever number corresponds to the version you want)
    Though you might want to try to get a kernel compiled with your version of gcc or just compile one yourself. But if that sounds like to much work then you can probably just switch the gcc version your kernel is compiled with--install nvidia--and switch back.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  3. #3
    gcc-config only resulted in unkown command

    but editing the xorg.conf solved my problem, had forgotten to do that after I installed the driver throu adept, doh

    sorry for the unnecessary question

  4. $spacer_open

Posting Permissions

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