On Thu, Feb 3, 2011 at 12:39 PM, Mark Knecht <markkne...@gmail.com> wrote: > Hi, > This is going to be trivial for anyone who actually programs. > Thanks in advance. > > How do I link to a library I installed using portage? If someone > could show me an example make file that would be great.
Don't know about nvcc but with gcc you'd use -l (that's a lower-case letter L): -lyourlibname So in your case maybe something like this might work: nvcc -L/usr/lib64/libta_lib ta-lib-ma.cu -o ta-lib-ma -lta_lib