Compiling for debugging does not work

Hi, In order to learn using cuda-gdb I tried to compile one example from the SDK with switch “-G0”

and got problems as follows:

I’m using Ubuntu 8.04 and Cuda 2.2.

Any hints ?


You have to use nvcc to perform the link step at the same time you perform all compilation for debugging .cu files.