FORTRAN Programming Environment For Windows & Mac OSX
MinGW - Minimalist GNU for Windows. A native Windows port of the GNU Compiler Collection (GCC).
Below are instructions to install a free minimal FORTRAN compilationenvironment for Microsoft Windows users.
There are two free products to install, the compiler itself (mingw) and a graphical front-end (Code::Blocks).
1. Download mingw from here: http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/
2. Double click on the installation file. It is recommended that you not change the default install location, which is c:mingw
.
During the installation be sure to select the Fortran Compiler in the component selection window as shown in the image below.
Multiple compiler support: GCC (MingW / GNU GCC), MSVC, clang, Digital Mars, Borland C 5.5, and Open Watcom etc. Support for parallel builds. Imports Dev-C projects. Debugger with full breakpoints support. Code::Blocks for Mac's interface is both customizable and extensible with Syntax highlighting, a tabbed interface. NOTE: The codeblocks-20.03mingw-setup.exe file includes additionally the GCC/G/GFortran compiler and GDB debugger from MinGW-W64 project (version 8.1.0, 32/64 bit, SEH). NOTE: The codeblocks-20.03(mingw)-nosetup.zip files are provided for convenience to users that are allergic against installers. Select New and add the Mingw-w64 path to the system path. The exact path depends on which version of Mingw-w64 you have installed and where you installed it. If you used the settings above to install Mingw-w64, then add this to the path: C:Program Filesmingw-w64x8664-8.1.0-posix-seh-rtv6-rev0mingw64bin. Select OK to save the updated PATH.
3. Download Code::Blocks for Fortran for Windows 32bit from this link:http://darmar.vgtu.lt/index.php/cbdownload
4. Note that this version of Code::Blocks for Fortran does not require an actual installation. Simply unzip the downloaded package, then run the codeblocks.exe file directly from the resulting folder. You will be presented with the following options. Please check the option as shown in the image below.
5. To create a new fortran program click on file>New>File>Select Fortran Source>Hit Go and follow the instructions in the dialog box.
6. To open an existing fortran source file select File>Open> and navigate to the fortran source file.
Mingw Gcc For Mac
_mingw.h Download
Mingw For Mac
Below is the link to the instructions to download and install GCC 4.7,4.8
compiler suite. This compiler can be invoked using the OSX Terminal program. Note that the GCC 4.7,4.8
suite contains the required gfortran
compiler. It can be downloaded by clicking on the link located just underneath the Computaion Tools :: C/Fortran
section of the page.
Link: www.hpc.sourceforge.net
Below is the link to the instructions to download and install Photran, an Eclipse-based integrated IDE for fortran.
Link:http://wiki.eclipse.org/PTP/photran/documentation/photran8installation