Compilation failed on Mac OS X

Hi all,

I’ve upgraded my CUDA installation to 4.2, but something seems to be wrong.

If I compile the source code that is included in the SDK, it works fine, but if I compile my file, an error is returned:

ld: unknown option: -no_pie

collect2: ld returned 1 exit status

before the upgrade, however, my code compiled fine…

(with CUDA 4.0)

Thanks a lot!