For Programmers: Free Programming Magazines  


Home > Archive > Fortran > July 2004 > compiling f77 code with gfortran









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author compiling f77 code with gfortran
d

2004-07-20, 3:57 am

is it possible to compile f77 code with gfortran?? g77 does it nicely,
gfortran complains.... fatal error: gfc_todo: Not Implemented: arrays
of strings

[omanG5:~/mult/test] dimka% which g77
/usr/bin/g77
[omanG5:~/mult/test] dimka% ls -la /usr/bin/g77
lrwxr-xr-x 1 root wheel 23 5 Apr 17:42 /usr/bin/g77 ->
/usr/local/bin/gfortran
[omanG5:~/mult/test] dimka%
[omanG5:~/mult/test] dimka% /usr/local/bin/gfortran -v
Reading specs from /usr/local/lib/gcc/powerpc-apple-darwin7.2.0/3.5-tree-ssa/specs
Configured with: ../gcc/configure --enable-threads=posix
--enable-languages=f95
Thread model: posix
gcc version 3.5-tree-ssa 20040315 (merged 20040307)
Janne Blomqvist

2004-07-20, 3:57 am

In article <bd050b00.0407192228.7048cf13@posting.google.com>, d wrote:
> is it possible to compile f77 code with gfortran??


Yes, as gfortran is meant to replace g77 in the next gcc release.

> gcc version 3.5-tree-ssa 20040315 (merged 20040307)


That being said, you're using a pretty old gcc snapshot. Try with
something remotedly current and see if your problem still persists.

--
Janne Blomqvist
Steven G. Kargl

2004-07-20, 3:59 pm

In article <bd050b00.0407192228.7048cf13@posting.google.com>,
newyorkdimka@gmail.com (d) writes:
> is it possible to compile f77 code with gfortran?? g77 does it nicely,
> gfortran complains.... fatal error: gfc_todo: Not Implemented: arrays
> of strings


(snip)

>gcc version 3.5-tree-ssa 20040315 (merged 20040307)


As Janne stated this porblem has been fixed. The actual change, I
believe, went into the gfortran source tree on 2004-04-05. AFAIK,
there are only a few problems with compiling Fortran 77 code. These
include ENTRY and non-integral do-loop iterators.

--
Steve
http://troutmask.apl.washington.edu/~kargl/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com