[R-SIG-Mac] Which gfortran for Leopard?

Simon Urbanek simon.urbanek at r-project.org
Thu Jan 21 22:48:32 CET 2010


On Jan 21, 2010, at 15:56 , cstrato wrote:

> Dear Simon,
>
> One more question:
> I have just unzipped gfortran-4.2-5564-darwin9.tar.gz. The version  
> gives:
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /Builds/gcc/gcc_42-5564/build/obj/src/configure -- 
> disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/ 
> man --enable-languages=c,objc,c++,obj-c++,fortran --program- 
> transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-gxx-include-dir=/usr/ 
> include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9  
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5564)
>
> This means that this version seems to be older than the one I am  
> using now?
>

No, that is GNU Fortran 4.2.4 that I was referring to. The "gcc  
version 4.2.1" comes from Apple's Xcode 3.1 gcc-4.2 branch since that  
is what they define - it just adds Fortran support to the existing gcc  
4.2.1 branch of Apple that you installed as Xcode. However, the  
Fortran part is merged from the GNU Fortran 4.2.4 release - hence I  
refer to it as 4.2.4.

Cheers,
Simon


>
> Simon Urbanek wrote:
>>
>> On Jan 21, 2010, at 14:47 , cstrato wrote:
>>
>>> Dear all,
>>>
>>> I have the following problem:
>>> My Bioconductor package xps requires both R and ROOT, whereby I  
>>> compile ROOT usually from source. Until now this has not been a  
>>> problem since I do all my development on Tiger. However, now I  
>>> wanted to compile ROOT on Leopard but failed since my gfortran  
>>> compiler is too old, see:
>>> http://root.cern.ch/phpBB2/viewtopic.php?t=9721&sid=003b01ddb64f33dbe0c74651ee089c34
>>>
>>> To solve the problem I should upgrade to the latest version coming  
>>> with gcc-4.4 in Fink.
>>
>> I would advise against that - using gcc from Fink usually calls for  
>> a disaster. The real solution is to fix their flags, but that's  
>> another story ...
>>
>>
>>> Thus my question is:
>>> Can I also use this version for R or do I need to use the version  
>>> downloaded from att?
>>>
>>
>> I would recommend using the Leopard gfortran 4.2.4 for Xcode 3.1.x  
>> from the Mac devel page
>> http://r.research.att.com/tools/
>> which I assume is what you meant by the latter.
>>
>> Cheers,
>> Simon
>>
>>
>
>



More information about the R-SIG-Mac mailing list