Re: [Rd] RCMD SHLIB problem in 64 bits

2014-10-08 Thread Duncan Murdoch
On 08/10/2014, 12:57 PM, Qiao Kang wrote: > I am trying to build a dll writen in C to be called by R. > > Interestingly, when I set the global environment variable PATH to be > "c:\Rtools\bin;C:\Rtools\gcc-4.6.3;C:\Program Files\R\R-3.1.1\bin\*i386*;" > and I typed "RCMD SHLIB Permutation.c" in Cy

[Rd] RCMD SHLIB problem in 64 bits

2014-10-08 Thread Qiao Kang
I am trying to build a dll writen in C to be called by R. Interestingly, when I set the global environment variable PATH to be "c:\Rtools\bin;C:\Rtools\gcc-4.6.3;C:\Program Files\R\R-3.1.1\bin\*i386*;" and I typed "RCMD SHLIB Permutation.c" in Cygwin, the dll was compiled and I can sucessfully cal