I downloaded everything related to CUDA 4.0RC, the files for OpenSuSE 11.2 and started compiling the SDK samples under OpenSuSE 11.3, stymied by
error – unsupported GNU version! gcc 4.5 and up are not supported!
I then went ahead and ‘fixed’ line 81 in /usr/local/cuda64/cuda/include/host_config.h as shown below.
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5) //#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4)
Everything compiled well, except for 3 files, Interval, FunctionPointers and SobelFilter.
It would be nice, if those doing testing at NVIDIA would consider to include gcc 4.5 as a supported version. 4.5 is not exactly bleeding edge any longer.