[Rd] C++ support

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Sun, 2 Apr 2000 16:31:54 +0200


I will shortly commit a first shot a C++ support for add-on packages (to
r-devel, of course).

For me, installation of a trivial test package (basically consisting of
the example in R-exts) works without problems.  I'll put the package
into CRAN's src/contrib/Devel for some time.

If anyone knows about platform/compiler specific settings CXXPICFLAGS
settings that configure needs to be taught, pls let me know.

Building shared libs would be based on the following idea: if C++ code
was found, then try using CXX as SHLIBLD (i.e. the C++ compiler for
building the shared library).  Alternatively, one would need to find out
what C++ is linked against, which may be a pain.  Anyway, I thought I'd
collect some feedback and then maybe come up with something refined.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._