This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: G77 & gfortran


On Sun, May 24, 2009 at 8:54 PM, MCL <gemesys@idirect.com> wrote:
> Hi,
> ?Help. ?Please!. ? I have downloaded and tried the "gfortran"
> compiler, and it is just no good for my purposes. ?I have dicked
> around for *days* now trying to get a big legacy program to compile
> and run. ?The strong-typing in "gfortran" is generating *hundreds*
> of errors, and my initial attempts to re-define things so I can get
> a clean-compile with "gfortran" are just doing too much violence to the
> logic and operational integrity of the legacy code-base.
>
> The whole idea here is *NOT* to re-write the big math-package I want
> to use, so I want to use the older, "g77" compiler. ?It might work,
> as I have operating versions in old MS-Fortran and Watcom WF77 fortran,
> from circa 1991, which ran on Windows 95, but I really want to compile on
> newer machines, (Win2000, XP, Fedora-Linux, etc.), but "gfortran"
> is just not doing it for me. ? I don't have the old MS-Fortran or Watcom
> WF77 compilers anymore - they were on an old machine that died.
> But I have running .EXE files, built successfully using both compilers.
>
> Where the heck can I get the older 1999 "g77" compiler? ?I can find TONS
> of documentation for it on the web, via google-searches, but
> nowhere can I find the download environement!! ?ARRRGH!
>
> Or, failing that, is there some way to tell "gfortran" to operate
> in some kind of "legacy" mode, where it is not strong-typing?
> The old fortran code I am using mixes INTEGER and 4-char literals
> such as 'SOLV' as essentially the same datatypes. ?My reading of
> "g77" documentation suggests that it can handle this condition,
> which was common practice in 1960's era FORTRAN code.
>
> I need to powerlevel this project, and that means getting a compiler
> that can compile my old FORTRAN program, not re-write the bloody
> thing.
>
> Is it possible to just download the g77 environment, and get a working
> g77 fortran compiler, operating in Windows XP, without this becoming
> a two week research effort?

Go to www.mingw.org and search for a GCC 3.x based version.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]