Skip to content
Prev 4796 / 15075 Next

Building packages under R >= 2.7.0 (issue with gcc-4.2)

Vincent,

I'm sorry but somehow I have no idea what you're talking about. Your  
package "actuar" (in the most recent version 0.9-7 on CRAN) passes  
"make check" with R 2.7.0 and it is available in binary form from CRAN  
as well, see:

http://cran.r-project.org/web/packages/actuar/index.html

more comments inline:
On Jun 1, 2008, at 1:50 AM, Vincent Goulet wrote:

            
The compiler used in the released versions is gcc (which is by default  
gcc-4.0 even if you installed gcc-4.2). You can map gcc to gcc-4.2 if  
you desire so, but that is a non-standard setup.
Not in the official binaries that I am releasing:

/Library/Frameworks/R.framework/Resources/etc/ppc/Makeconf:
CC = gcc -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx- 
version-min=10.4 -std=gnu99

/Library/Frameworks/R.framework/Resources/etc/i386/Makeconf:
CC = gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx- 
version-min=10.4 -std=gnu99
You'll have to tell us exactly which R build are you using. CRAN  
binaries are clearly not configured the way you are describing, so you  
must be using some custom or experimental build in which case you're  
on you own ...

Nonetheless, even in the case of using gcc-4.2 your package installs,  
so I have no idea what you are concerned about.

Cheers,
Simon