[R] link my own C library using Rcmd SHLIB

Xiaoping Jin xiaopinj at biostat.umn.edu
Sat Aug 24 04:19:51 CEST 2002


Hi All,

I have already used gcc to creat a library, for example, it is called
"test.a", which includes many
c objects.

How to link my main "a.c" function to this library when I used Rcmd SHLIB
to complier my main c program?

I tried "Rcmd SHLIB a.c test.a". It does not work this way. Does anyone
have idea about this?

Thanks,

Xiaoping



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list