In the 1.0 SDK common.mk the cubin rule is still forced to compile as 32 bits:
$(CUBINDIR)/%.cubin : $(SRCDIR)%.cu cubindirectory $(VERBOSE)$(NVCC) -m32 -o $@ -cubin $< $(NVCCFLAGS)
Is this really a requirement or an oversight? Notice that in x86_64 systems without
all the 32 bit compatibility libraries installed, the compilation will fail.
Even more, if you run “make” at the SDK root level, the projects after the one
that failed will not get built.
I can fix the error by replacing -m32 with -m64 in the common.mk. Is this OK?