码迷,mamicode.com
首页 > 其他好文 > 详细

when compile /home/wangxiao/NVIDIA-CUDA-7.5 SAMPLES, it warning: gcc version larger than 4.9 not supported, so: old verson of gcc and g++ are needed

时间:2016-04-13 09:43:21      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:

1. when compile /home/wangxiao/NVIDIA-CUDA-7.5 SAMPLES, it warning: gcc version larger than 4.9 not supported, so:
old verson of gcc and g++ are needed:

    sudo apt-get install gcc-4.7
    sudo apt-get install g++-4.7    

then, a link needed :

sudo ln -s /usr/bin/gcc-4.7 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-4.7 /usr/local/cuda/bin/g++

 

 

when compile /home/wangxiao/NVIDIA-CUDA-7.5 SAMPLES, it warning: gcc version larger than 4.9 not supported, so: old verson of gcc and g++ are needed

标签:

原文地址:http://www.cnblogs.com/wangxiaocvpr/p/5385751.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!