Libtool and CUDA

2010-12-05 Thread Paweł Daniluk
Hi, I am trying to run nvcc compiler driver through libtool, and I keep getting errors about compiler flags which are not supported by nvcc: pa...@solea:~/sandbox/libdesc/libdesc/trunk$ /opt/local/bin/glibtool --mode=compile --tag=CC nvcc -c -m64 -arch=sm_11 -g -DTIMER -Xcompiler -fno-comm

Re: Libtool and CUDA

2010-12-06 Thread Paweł Daniluk
ust link a program against all its dependency libraries. link_all_deplibs=yes # Set to "yes" if exported symbols are required. always_export_symbols=no # The commands to list exported symbols. export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //

Re: Libtool and CUDA

2010-12-07 Thread Paweł Daniluk
Hi, Of course the whole support currently won't work if you need to have both compilers CC=gcc and, say, NVCC=nvcc or so; to workaround you currently need a subpackage with a sub configure script where you override CC=$NVCC. We could fix that in the same way as the proposed Go patch: by explici