Rtools -- compiling C dll for 64-bit
On 03/07/2014, 7:53 PM, Dalthorp, Daniel wrote:> I've seen that many people have had trouble using Rtools for a 64-bit
compile of C functions. For some, a quick change in path statement
seems to
corrects the problem; for others, apparently not. For me? I've been
working
at path statements and install/uninstall/reinstall of all sorts of things for four hours now with no success. The 32-bit dll loads fine, but I
need a
64-bit version. Is there an option to tell the compiler with Rtools to use 64-bit? Or
a way
to kill off the 32-bit version on my machine so I don't need to worry
about
it? Any guidance would be greatly appreciated!
Your post is far too vague. Where have you seen all these problems? What are you doing? Of course the tools in Rtools have options to select the architecture, but users normally don't need to set those manually. If you're building R, use "MULTI=64" on the make command. If you're calling compilers directly, use the appropriate command line option or prefix for that compiler. These are all listed in the MkRules file in src/gnuwin32/MkRules.dist in the R sources, or in the help pages for the commands. Duncan Murdoch