Skip to content

R and gcc, yet again

2 messages · Richards, Tom, Brian Ripley

#
Hello:

I have not compiled C code for R since around version 1.1.0, and i see that
I am really missing something here.  I am using widoes and mingw32 port of
gcc.  Now, as usual I have gone into Rinternals.h and physically changed all
declarations of functions returning SEXP's to

__declspec(dllimport) SEXP

but I still am getting repeated crashes of R.  Do any windows users know
what I am forgetting to do here?  Thanks in advance.

Tom
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sat, 10 Aug 2002, Richards, Tom wrote:

            
Not leaving things alone?  There is no need to change the header files if
you follow exactly the documented procedures.