Forttran 77

Daniel B. Thurman dant at cdkkt.com
Wed Apr 8 16:52:52 UTC 2009


Matthew Saltzman wrote:
> On Wed, 2009-04-08 at 08:09 -0700, Daniel B. Thurman wrote:
>   
>> I noticed that there is a gcc-gfortran compiler,
>> but missing is the legacy g77 compiler, more noticably, that neither
>> compiler appears in the cache.  This becomes self-evident when one
>> installs NetBeans, and notices that it cannot seem to locate the fortran
>> compiler because it does not appear in the /usr/lib/ccache folder.
>>
>> Why is that?
>>     
>
>         $ rpm -qi ccache
>         [...]
>         Description :
>         ccache is a compiler cache.  It acts as a caching pre-processor to
>         C/C++ compilers, using the -E compiler switch and a hash to detect
>         ^^^^^^^^^^^^^^^
>         when a compilation can be satisfied from cache.  This often results in
>         a 5 to 10 times speedup in common compilations.
>         
> ccache doesn't support Fortran?
>
> None of the files in the ccache RPM appear to be related to Fortran in
> any way.
>   
ok, I guess.  It says: ""compiler cache" as a general term(?) and then
refers to C/C++ as an example?  Guess I am reading into it too deeply.

In Netbeans, I tried to add the full pathname of gfortran to the Fortran
input-box in the original "base", but it refused to accept it. I suppose 
that
adding a fortran link to /usr/lib/ccache might work, but instead I decided
to create a new "base" with the /usr/bin pathname, and it worked.  
Potentially
there could be a conflict because there are two "bases" and it is not known
to me, which of these two bases take precedence when it involves the ccache.

Also, NetBeans does not fully support Fortran (gui editor, etc.) unlike 
Eclipse,
which has full support via the "photran" package.

FWIW,
Dan




More information about the fedora-list mailing list