Is it safe to use non-default versions of gcc?
Hello. I've recently been playing around with CUDA on Ubuntu 11.10. Ubuntu 11.10's default gcc version is apparently 4.6, but CUDA only works with gcc up to version 4.4. It wasn't any problem installing the gcc-4.4 package and relinking /usr/bin/gcc to /usr/bin/gcc-4.4, and the CUDA example are working now. Though nothing has exploded yet, is this safe? Are dynamic libraries and object files compiled with one version of gcc compatible with those compiled with another?