cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
687 stars 304 forks source link

unsupported GNU version! gcc 4.9 and up are not supported! #155

Open MikeyCarter opened 8 years ago

MikeyCarter commented 8 years ago

Trying to recompile everything for Fedora 23.

/usr/local/cuda-5.5//bin/..//include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.9 and up are not supported!

# gcc --version
gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2)
Copyright (C) 2015 Free Software Foundation, Inc.

See from my mirrors there is a cuda 7.5:

cuda-cli-tools.x86_64      7.5.18-2.fc23  negativo17-nvidia
cuda-devel.x86_64          7.5.18-2.fc23  negativo17-nvidia
cuda-docs.noarch           7.5.18-2.fc23  negativo17-nvidia
cuda-extra-libs.x86_64     7.5.18-2.fc23  negativo17-nvidia
cuda-libs.x86_64           7.5.18-2.fc23  negativo17-nvidia
cuda-nsight.x86_64         7.5.18-2.fc23  negativo17-nvidia
cuda-nvvp.x86_64           7.5.18-2.fc23  negativo17-nvidia
cuda-samples.noarch        7.5.18-2.fc23  negativo17-nvidia
cuda-static.x86_64         7.5.18-2.fc23  negativo17-nvidia
cuda.src                   7.5.18-2.fc23  negativo17-nvidia
cuda.x86_64                7.5.18-2.fc23  negativo17-nvidia

Any chance we can get cuda 7.5 support?

iioel commented 8 years ago

@MikeyCarter Just do : sudo apt-get install gcc-4.8 g++-4.8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50

minzak commented 6 years ago
apt-get install gcc-4.8 g++-4.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package g++-4.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.8' has no installation candidate
E: Package 'g++-4.8' has no installation candidate