Skip to content
Prev 8630 / 15075 Next

How to make Mac 64-bit version feature complete?

Adam,
On Dec 14, 2011, at 11:24 AM, Adam Strzelecki wrote:

            
Try  ls /usr/lib/gcc/*/4.2.1 and notice separate directories for ppc vs intel (first level) and 32-bit vs 64-bit (second level; top dir is 32-bit 64-has its own subdir).

ginaz:bin$ ls /usr/lib/gcc/*/4.2.1 
/usr/lib/gcc/i686-apple-darwin10/4.2.1:
crt3.o              install-tools       libgcc_eh.a         libgfortran.a       libgomp.a           x86_64
finclude            libcc_kext.a        libgcc_static.a     libgfortranbegin.a  libgomp.spec
include             libgcc.a            libgcov.a           libgfortranbegin.la libstdc++.dylib

/usr/lib/gcc/powerpc-apple-darwin10/4.2.1:
crt2.o              include             libgcc.a            libgcov.a           libgfortranbegin.la libstdc++.dylib
crt3.o              install-tools       libgcc_eh.a         libgfortran.a       libgomp.a           ppc64
finclude            libcc_kext.a        libgcc_static.a     libgfortranbegin.a  libgomp.spec
That's why R framework does that so the discussion is really moot.
If they want to do that. However, with R users typically don't want to do that - you are missing important points - see below. There is nothing preventing you from lipo'ing R from R64.app into R.app if that's what you want. It doesn't change anything, though - it's still exactly the same binary.
Please think for a moment and re-read what I said. This is not about compilation, but about R. You are completely missing the fact that there is interpreted code involved that can be (and in practice is) arch-conditional. But, again, I don't think you wanted to go there - this is about the package build process which is a whole different story and one that's certainly not Mac-specific.
a) historical reason (64-bit R was optional) b) easier way to choose architecture c) capability to run them in parallel
That is plain wrong. 64-bit is not faster, it can be both slower or faster depending on the task. And it always uses more memory. There are plenty of machines with 4GB of RAM or less where running 64-bit R can cause more trouble than you want.
Fell free, this has nothing to do with R, though. You may want to ask the maintainers of the packages in question whether they would welcome a patch.
That's wrong as well, you can run multi-lib on Linux (typically it's done on x64 systems to run legacy x86 code, but it is very common for other architectures like MIPS). You choose the architecture the same way as on OS X using R --arch <arch>.
Well, IMHO you don't make much sense - the only thing you seem to object is the fact that we have R.app/R64.app instead of fat R.app. However, that makes no difference whatsoever - it is just a convention that comes from the way R is run (the GUI is just an add-on, it's not "the R") and either approach works just as well. It doesn't limit anything in any way so I fail to see any connection with it and you offering help. We could certainly use an experienced Mac programmer - but the good ones don't start pointless discussions but typically provide patches and we go from there (quite successfully).

Cheers,
Simon

Thread (23 messages)

Adam Strzelecki How to make Mac 64-bit version feature complete? Dec 7 David Winsemius How to make Mac 64-bit version feature complete? Dec 10 Simon Urbanek How to make Mac 64-bit version feature complete? Dec 10 Charlie Sharpsteen How to make Mac 64-bit version feature complete? Dec 10 Adam Strzelecki How to make Mac 64-bit version feature complete? Dec 14 Timothy Bates How to make Mac 64-bit version feature complete? Dec 14 Simon Urbanek How to make Mac 64-bit version feature complete? Dec 14 Adam Strzelecki How to make Mac 64-bit version feature complete? Dec 14 Charlie Sharpsteen How to make Mac 64-bit version feature complete? Dec 14 Simon Urbanek How to make Mac 64-bit version feature complete? Dec 14 Ben Madin How to make Mac 64-bit version feature complete? Dec 14 Adam Strzelecki Why there are two R.app & R64.app? Dec 15 Federico Calboli Why there are two R.app & R64.app? Dec 15 Adam Strzelecki Why there are two R.app & R64.app? Dec 15 Simon Urbanek Why there are two R.app & R64.app? Dec 15 Simon Urbanek How to make Mac 64-bit version feature complete? Dec 16 Berend Hasselman How to make Mac 64-bit version feature complete? Dec 16 David Winsemius How to make Mac 64-bit version feature complete? Dec 16 Simon Urbanek How to make Mac 64-bit version feature complete? Dec 16 Adam Strzelecki How to make Mac 64-bit version feature complete? Dec 16 Stefan Evert How to make Mac 64-bit version feature complete? Dec 20 Stefan Evert How to make Mac 64-bit version feature complete? Dec 20 Adam Strzelecki How to make Mac 64-bit version feature complete? Dec 20