Ubuntu precise with clang 3.3 and gcc 4.6.3 with R 2.15.2 and Rcpp 0.10.1 when calling sourceCpp gives output I'm not quite understanding...
> sourceCpp("~/src/TestPackageDepends2/inst/examples/CallFunction.cpp",verbose=T, rebuild=T) Generated Rcpp module declaration: -------------------------------------------------------- #include <Rcpp.h> RCPP_MODULE(sourceCpp_12634) { Rcpp::function("callFunction", &callFunction, Rcpp::List::create()); } Building shared library -------------------------------------------------------- DIR: /tmp/RtmpWMdYuo/sourcecpp_6275273d958b /usr/lib/R/bin/R CMD SHLIB -o 'sourceCpp_12634.so' --preclean 'CallFunction.cpp' "clang++" -I/usr/share/R/include -DNDEBUG -I"/home/thell/R/library/Rcpp/include" -I"/home/thell/R/library/TestPackageDepends/include" -fpic -O3 -pipe -g -c CallFunction.cpp -o CallFunction.o g++ -shared -o sourceCpp_12634.so CallFunction.o -L/home/thell/R/library/Rcpp/lib -lRcpp -Wl,-rpath,/home/thell/R/library/Rcpp/lib -L/usr/lib/R/lib -lR What would make clang _not_ get used for both phases? My Makevars shows CC="clang" CXX="clang++" CPP="clang-cpp" -- Sincerely, Thell
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel