From murdoch.duncan at gmail.com  Fri Jul  4 12:21:55 2014
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 04 Jul 2014 06:21:55 -0400
Subject: [Rd] Rtools -- compiling C dll for 64-bit
In-Reply-To: <CAJeYpE9O+OBwzTHFf=huaKio6pQ9ZbWp9r7rBhmhWeL=-6dXRA@mail.gmail.com>
References: <CAJeYpE9O+OBwzTHFf=huaKio6pQ9ZbWp9r7rBhmhWeL=-6dXRA@mail.gmail.com>
Message-ID: <53B68043.5050700@gmail.com>

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



[Rd] Rtools -- compiling C dll for 64-bit
Duncan Murdoch