Problem compiling basic programs

Are you sure about that? If I compile the empty main repo case with CUDA 3.2 on a 32 bit OS X box (10.6.5 with gcc 4.2.1 build 5664), it compiles without error or warning:

MacBook-Air:~ avidday$ gcc --version

i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

Copyright (C) 2007 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

MacBook-Air:~ avidday$ nvcc --version

nvcc: NVIDIA (R) Cuda compiler driver

Copyright (c) 2005-2010 NVIDIA Corporation

Built on Thu_Nov_11_15:26:50_PST_2010

Cuda compilation tools, release 3.2, V0.2.1221

MacBook-Air:~ avidday$ cat junk.cu

int main(void)

{

	return 0;

}

MacBook-Air:~ avidday$ nvcc junk.cu -o junk

MacBook-Air:~ avidday$ otool -L junk

junk:

	@rpath/libcudart.dylib (compatibility version 1.1.0, current version 3.2.0)

	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)

What errors do you get?