[R] R CMD SHLIB ignores changes in header files

Faheem Mitha faheem at email.unc.edu
Sun Sep 15 07:35:59 CEST 2002


Dear People,

If I do

R CMD SHLIB foo.c

where foo.c includes a header file (foo.h, say) then if I change foo.h and
rerun R CMD SHLIB it does not recompile the shared library. I have to
touch foo.c before it will recompile. I am finding this increasingly
annoying. Is this a known issue, or am I missing something?

This clearly has to do with how the make process underlying RM CMD SHLIB,
therefore presumably the file /usr/lib/R/bin/SHLIB is the one to look at.
This behaviour appears to me to be a bug, but I'm not sure what the best
way to fix it would be. Perhaps make it possible to pass header file names
to R CMD SHLIB as arguments?

                                        Sincerely, Faheem Mitha.

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