Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.4.44.0208232118100.11524-100000@smelt.biostat.umn.edu>
Date: 2002-08-24T02:19:51Z
From: Xiaoping Jin
Subject: link my own C library using Rcmd SHLIB

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._