Skip to content
Prev 6254 / 15075 Next

Compiling packages on Snow Leopard for 64bit

Erich,
On Sep 13, 2009, at 12:02 PM, Erich Neuwirth wrote:

            
For packages that don't have configure or Makefile regular R CMD  
INSTALL will build all architectures so you don't need --arch.  
However, if you see i386 and ppc but don't see x86_64 then it looks as  
if you have 32-bit R from CRAN ... (yet if --arch x86_64 works it  
should be the 64-bit R - so I'm a bit confused). Are you sure you are  
using the correct R version? You should see:

Fino:~$ ls /Library/Frameworks/R.framework/Resources/bin/exec
i386   ppc    ppc64  x86_64

In fact on Snow Leopard you want to run
rm -rf /Library/Frameworks/R.framework/Resources/bin/exec/ppc*
because Rosetta is not installed by default and ppc64 libraries are  
missing, so on SL you should see

Fino:~$ ls /Library/Frameworks/R.framework/Resources/bin/exec
i386   x86_64

Cheers,
Simon