On Sep 3, 2009, at 4:36 PM, Simon Urbanek wrote:

> John,
>
> On Sep 3, 2009, at 7:19 PM, John C. Tull wrote:
>
>> There appears to be an Apple-supplied gfortran in /usr/bin now, but  
>> it is i386 arch rather than 64-bit. I'm not sure if you can use it  
>> to build a 64-bit R or not. It is also version 4.2.1.
>>
>
> I suspect you may have installed the Leopard gfortran-4.2 previously  
> and then upgraded your OS and Xcode (there is no gfortran in stock  
> Xcode 3.2). That will work, but it is 32-bit by default since it  
> comes from Xcode 3.1.x which was 32-bit by default (you can still  
> compile 64-bit with it by using -arch x86_64).
>
> Cheers,
> Simon

Simon,

That would make sense. Thanks for pointing that out.

John



>>
>> On Sep 3, 2009, at 3:16 PM, Tony Chiang wrote:
>>
>>> Sorry, I forgot to mention that I had downloaded and installed the  
>>> gfortran
>>> 4.2.3 from here
>>>
>>> http://r.research.att.com/tools/#gcc42
>>>
>>> dhcp151062:R-devel tc$ gfortran --version
>>>> GNU Fortran (GCC) 4.2.3
>>>>
>>>
>>> On Thu, Sep 3, 2009 at 3:14 PM, Tony Chiang <tchi...@fhcrc.org>  
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> So I am trying to configure and build the latest of R-devel on  
>>>> one of the
>>>> new Macbook Pro's running Snow leopard. I have installed the  
>>>> latest X-Code
>>>> tools (downloaded from the Apple Site) and have gcc installed:
>>>>
>>>> gcc --versioni686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple  
>>>> Inc. build
>>>>> 5646)
>>>>>
>>>>
>>>> So as I am trying to configure, I get this error message:
>>>>
>>>> ...cut...
>>>>
>>>>> checking for Fortran 77 libraries of gfortran...  -L/usr/local/lib
>>>>> -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3
>>>>> -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/../../.. - 
>>>>> lgfortranbegin
>>>>> -lgfortran
>>>>> checking how to get verbose linking output from gcc - 
>>>>> std=gnu99... -v
>>>>> checking for C libraries of gcc -std=gnu99...  -lcrt1.10.6.o
>>>>> -L/usr/local/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
>>>>> -L/usr/lib/i686-apple-darwin10/4.2.1
>>>>> -L/usr/lib/gcc/i686-apple-darwin10/4.2.1
>>>>> -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple- 
>>>>> darwin10/4.2.1
>>>>> -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. -lSystem
>>>>> checking for dummy main to link with Fortran 77 libraries... rm:
>>>>> conftest.dSYM: is a directory
>>>>> none
>>>>> checking for Fortran 77 name-mangling scheme... rm:  
>>>>> conftest.dSYM: is a
>>>>> directory
>>>>> unknown
>>>>> configure: WARNING: unknown Fortran name-mangling scheme
>>>>> checking whether gfortran appends underscores to external  
>>>>> names... unknown
>>>>> configure: error: cannot use Fortran
>>>>>
>>>>
>>>> I have not seen any messages quite like this on the mailing list.  
>>>> What is
>>>> pretty strange is the conftest.dSYM needs to be removed (?) for  
>>>> some reason
>>>> but is a directory. Any ideas or suggestions on how to resolve  
>>>> this?
>>>>
>>>> Best,
>>>> --Tony
>>>>
>>>
>>>     [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac@stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to