Trying to look for a fortran compiler for my windows XP

AI Thread Summary
A user is seeking a free Fortran compiler for Windows XP to prepare for an engineering competition. Suggestions include using Cygwin, which provides the GNU compiler collection, including g77, a Fortran 77 compiler. Users are advised to perform a Google search for various available options and to consider g95 for its ease of use and compliance with Fortran standards. There are discussions about the potential speed differences between Fortran and C programs, and some users express frustration with setting up Cygwin. Overall, g95 is recommended for its straightforward operation without the complexities of Cygwin.
sublime
Messages
13
Reaction score
0
not sure where this goes, but I am trying to look for a fortran compiler for my windows XP OS that is free so i can get into doing some programming. My school may be getting into a engineering competition and i would be a frontrunner on the team and want to get a headstart. if anyone can help i would appreciate it.
 
Physics news on Phys.org
sublime said:
not sure where this goes, but I am trying to look for a fortran compiler for my windows XP OS that is free so i can get into doing some programming. My school may be getting into a engineering competition and i would be a frontrunner on the team and want to get a headstart. if anyone can help i would appreciate it.
Just one note that might or might not be applicable to your case but remember that it is all but guaranteed that a FORTRAN compiler will execute some code any faster than say a C program on a PC.
 
Have you tried a google search? There are probably dozens of freely-available Fortran compilers for Windows.

I personally would suggest installing Cygwin, which includes the GNU compiler collection, including g77, the GNU Fortran 77 compiler.

http://www.cygwin.com

- Warren
 
got my cygwin up and am having some trouble opening up the binaries required to get the compiler working. :( i am quite frustrated.
 
Open the Cygwin bash shell. Type g77 inputfile -o outputfile to compile your source code, inputfile, into an executable, outputfile.

- Warren
 
g95(not to be confused with gfortran, the GNU F90 compiler) is your best bet. Not the GNU compilers if you're using windows. I say this from an ease of use persepective. Works from DOS, no need to deal with cygwin (which I've always considered to be a hassle). Also its very good about sticking strictly to the standard, and its available on every platform you could ever want, a major plus if portability becomes a concern (of course, so are the GNU compilers, but I'm really less of a fan of those for fortran, in part because upgrading them can be an absolute nightmare if you don't know what you're doing).
 
Back
Top