Tag: GCC

GCC (GNU Compiler Collection) is a free and open-source compiler system supporting various programming languages, widely used for compiling and optimizing code across different platforms and architectures.

  • NVIDIA CUDA on Ubuntu: unsupported GNU version! gcc versions later than 5 are not supported!

    Written by

    in

    After installing CUDA on Ubuntu, compiling CUDA applications with nvcc results in an error similar to this: In file included from /usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/cuda_runtime.h:78:0, from <command-line>:0: /usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/host_config.h:119:2: error: #error — unsupported GNU version! gcc versions later than 5 are not supported! #error — unsupported GNU version! gcc versions later than 5 are not supported! ^~~~~}}} Ubuntu comes…

    Read more