Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8846977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:06:58+00:00 2026-06-14T12:06:58+00:00

When I try to directly install the binary (700mb) cuda_5.0.35_linux_64_fedora16-1.run I only get the

  • 0

When I try to directly install the binary (700mb) cuda_5.0.35_linux_64_fedora16-1.run I only get the driver installed and setup detect that I have unsupported gcc version 4.7. I have nvcc and gcc-4.5.2 on my path.

Thus I configured and installed gcc 4.5.2 to another directory (/opt/gcc) and pointed it via install script :

./cudatoolkit* –compiler-bindir /opt/gcc-4.5.2/usr/bin

I only got the deviceQuery working but for other codes in samples I have this ;

gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory

Thus the question is reduced to ;

CUDA 5.0 prod. release supports up to gcc 4.5 and I have 4.7 in stock by default. What is the proper (de facto) way of installing the secondary gcc to a different location and pointing to it from cudatoolkit install package ? Goal is to (obviously) seamless compile the samples folder in the latest CUDA release.

Older versions worked fine but I want to make this work.
Any suggestions are welcomed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:06:59+00:00Added an answer on June 14, 2026 at 12:06 pm

    The steps used to get this working were:

    1. Install gcc-4.4.7 to a different location
    2. Install CUDA 5.0 to it’s default location
    3. Install Samples and SDK to your home directory
    4. Add gcc-4.4.7 to your path (overwrite gcc-4.7.1)
    5. Add LD_LIBRARY_PATH to your path
    6. Add nvcc (/usr/local/cuda-5.0/bin) to your path
    7. Compile (make) samples
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

when I try to create a virtualenv that uses python2.5 I get the following
I have a windows service which i can't run or start, only install or
-Edit after closing- I try to install ruby 3 to a Server and that
I'm having a problem with install conditions in maintenance mode that only happens in
Try as I might I cannot get my head around what the IteratorIterator class
Is there a development environment that runs directly on an the iPhone OS? I
I'm trying to get IronRuby installed on a Mac and having trouble getting it
Is there any way how to run the setup.exe bootstrapper generated by VS2008 with
I downloaded xcode sdk as xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg and try to install it on my mac
When i try and install Mono for Android it won't install the plugin for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.