Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TedKord

macrumors newbie
Original poster
Hi all

I've just installed CUDA 3.0 (Driver, Toolkit and SDK). However, when I go to compile the examples, I get the following error:

cc1plus: error: unrecognized command line option "-arch"
make: *** [obj/i386/release/bank_checker.cpp.o] Error 1

Could someone tell me how to resolve this?

Thanks

Ted

N.B:
I've tried to register on the NVIDIA Forum but for some reason, I've yet to receive the confirmation email.
 
Sounds like something isn't set up correctly and the wrong compiler is being invoked; cc1plus is the C++ compiler from GCC and as far as I know, the "architecture" flag is -march and not -arch.

Sorry if this is vague - I didn't take the time to download the SDK myself.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.