Skip to content

64-bit build from source?

6 messages · Robert Terwilliger, Simon Urbanek, Brian Ripley +1 more

#
Dear R-Mac people,

If I build R (2.7.0) from source on a 64-bit Mac, will it be a 64-bit
app? I don't care about the GUI.........

Many thanks,

Robert Terwilliger
#
On Apr 22, 2008, at 12:15 PM, Robert Terwilliger wrote:

            
If you use 64-bit compilers, yes. (FWIW the GUI in 2.7.0 compiles in  
64-bit, too).

Cheers,
Simon
#
On Tue, 22 Apr 2008, Robert Terwilliger wrote:

            
Only if you specify '-arch x86_64'  My config.site is

CC="gcc -arch x86_64"
OBJC=$CC
F77="gfortran -arch x86_64"
FC=$F77

You probably want

./configure --with-blas='-framework vecLib' --with-lapack

for speed, and --with-aqua if you want to use the quartz() device (which 
unlike earlier versions is fine from the command line version of R).

  
    
#
The compile and install seemed to go fine, but then I could not find
an executable. I expected it to be in /usr/local/bin. I looked also in
/Library/Frameworks/R.framework/Versions/Current and found libraries
but no executable.

Any ideas?

Many thanks,

Robert Terwilliger

On Tue, Apr 22, 2008 at 12:29 PM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
#
So, has the problem with 64 Mac builds failing "make check" due to the
system log10 function returning incorrect results?
On 4/22/08 11:51 AM, "Robert Terwilliger" <raterwil at gmail.com> wrote:

            

  
    
#
On Apr 22, 2008, at 2:51 PM, Robert Terwilliger wrote:

            
See R for Mac FAQ 3 "Command line version of R".

Relative to where you built it it's
bin/R
and if you installed it as a framework then it's in
/Library/Frameworks/R.framework/Resources/bin/R

Cheers,
S