Hi,

I have a Powerbook G4 and I've installed R 2.3.1. When I try to  
install a package that involves compilation, like ROracle, I find  
that "R CMD COMPILE" uses arch=i386 instead of ppc. For example,

R CMD COMPILE RS-DBI.c
gcc-4.0 -arch i386 -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3 -D__NO_MATH_INLINES  -fPIC -fno-common  -g -O2 -std=gnu99 - 
march=pentium-m -mtune=prescott -c RS-DBI.c -o RS-DBI.o

BUT,

R CMD config CC
gcc-4.0 -arch ppc

Why is R CMD COMPILE doing the wrong thing and how can I fix it?  
Thanks for any advice!

--- Adam

Adam Lyon (lyon at fnal.gov)
Fermi National Accelerator Laboratory
Computing Division / D0 Experiment


	[[alternative HTML version deleted]]

