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/bi…
参考What is the difference between g++ and gcc? 1.The actual compiler is "cc1" for C and "cc1plus" for C++; both gcc and g++ are drivers (which call the preprocessor/compiler/assembler/linker as needed). 2.For c++ you should use g++. It'…