search for: ldeppkg

Displaying 1 result from an estimated 1 matches for "ldeppkg".

Did you mean: deppkg
2010 Oct 04
1
source package build/installation with subdirectory-lib
...y under depPkg. now when i compile *my* shared library in testing, it also works just fine: bash$ cd src bash$ gcc -std=gnu99 -I/usr/share/R/include -I../depPkg/include -fpic - g -O2 -c mycode.c -o mycode.o bash$ gcc -std=gnu99 -shared -o mycode.so mycode.o -L/usr/lib64/R/lib - lR -L../depPgk/lib -ldepPkg when in R, i can now use dyn.load("mycode.so") and .Call(...) with my C functions perfectly. now i want to build the package so i can install it easily on my colleagues' machines. so i use the normal R build mechanism (R CMD build), but first create a Makevars file that looks like s...