Free Fortran Compilers
Free Fortran Compilers and Integrated Development Environments (IDEs)
Free Fortran Compilers
Fortran is one of the earliest imperative computer programming languages around. It is often used for scientific and numeric programs. This page lists free Fortran compilers for various operating systems. Note that the different software listed are compliant with different Fortran standards, eg, ANSI Fortran 77, Fortran 95, Fortran 2003, Fortran 2008, Fortran 2018, and so on, so be sure to get the appropriate one for your purpose. Some of them may also come complete with debuggers, editors and an integrated development environment (IDE).
Related Pages
- How to Set Up/Create Your Own Website: The Beginner's A-Z Guide
- How to Create a Blog
- Free Numerical, Mathematical, Statistics Libraries and Source Code
- Free ODBC Drivers, SQL Servers and Tools, Database Libraries and Source Code
- Free Educational Programming Languages - Teach Kids Programming
- Free Logo Compilers and Interpreters
- How to Register Your Own Domain Name - get one for your software
- How to Make Money From Your Website - monetize your software/site
- How to Accept Credit Cards on Your Website
Free Fortran Compilers and IDEs
- Flang

Flang is the Fortran compiler front end of the LLVM project (which also includes other compilers, such as a C/C++ compiler). The current version (as at the date this was written) implements Fortran 2003 (with some features from Fortran 2008), while the next version (currently found here) implements Fortran 2018. The link above leads to the source code for the compiler. The downloadable binaries (ie, executables) can be found here. Note that the binaries are for Linux (both x86-64 and OpenPOWER) only, although work on a Windows port has begun.
- AOCC Fortran
The AMD Optimizing C/C++ Compiler Suite (or "AOCC") includes an optimizing Fortran compiler that can generate code for 32-bit and 64-bit Linux systems. It also comes with optimized libraries.
- MinGW'S G77 (GNU Fortran)
This system comes with the GNU G77 Fortran compiler (among other things, including a C/C++ compiler), which you can use to generate Win32 executables from F77 code. Like many systems based on the GNU tools, Mingw32 comes with complete with various programming tools, such as a program maintainence program (ie, make), text processing tools (sed, grep), lexical analyser generator (flex), parser generator (bison), etc.
- Gfortran - the GNU Fortran Compiler
gfortran, part of the GNU Compiler Collection, is a free Fortran 95/2003/2008 compiler. Like all things from GNU, it comes with source code. Precompiled binaries (executables) are available for Windows, Linux, Mac OS X, the old Mac OS (PPC), etc.
- Silverfrost FTN95 Personal Edition
Silverfrost FTN95 is a Fortran 95 compiler that supports Fortran 77, Fortran 90 and Fortran 95. The compiler generates 32-bit and 64-bit exectuables for Windows and the Microsoft .NET framework. It comes with CHECKMATE, a tool that lets programmers check the correctness of their code at runtime. Also included is Plato 3 (an IDE), full source level debugging, documentation and examples. You may only generate code for your personal use on your home computer, and all executables will display a banner on execution.
- Open Source Watcom / OpenWatcom Fortran Compiler
The Watcom (now OpenWatcom) Fortran 77 compiler is now available free of charge, complete with source code. This compiler, which generates code for Win32, Windows 3.1 (Win16), OS/2, Netware, MSDOS (16 and 32 bit), etc, was a well-known compiler some years back (until Sybase terminated it).
- G95
[Update (17 November 2020): their website does not seem to be working correctly, with only a partial change log on the main page, and no links to the compiler or anything else. I'm not sure if this is just a temporary situation (eg, due to an error in their web server configuration, such as failing to install PHP, since there are fragments of PHP code on the page), or if the site has really gone.]
G95 is an open source Fortran 95 compiler. At the time this was written, most of the ISO Fortran 95 standard has been implemented. Platforms supported include Linux(x86, Intel IA64, AMD x86_64), Windows, Macintosh OS X, FreeBSD, Sparc Solaris and HP-UX.- Oracle Developer Studio
The Oracle Developer Studio includes C, C++ and Fortran compilers for Linux (specifically the Red Hat and Oracle distributions) and Solaris. Based on information displayed on the download page at the date this entry was written, it looks like you can freely use the compiler for developing commercial applications if you wish. (As with all software, you should of course verify this yourself, since the situation sometimes changes over time.)
- f2j - Fortran to Java Compiler
f2j translates Fortran 77 source code to Java class files. It is distributed under the GNU GPL and runs on Linux, SunOS/Solaris.
- F2C - Fortran to C Translator
This is a well-known Fortran to C converter that comes with source code. The site also includes pre-compiled binaries (executables) for MSDOS and Microsoft Windows, although these are by no means the only systems supported - the compiler works on Unix systems like BSD, Linux, etc. You have to compile the compiler yourself on those systems. Libraries containing the runtime support needed (together with the C source code) are also included. You need a C compiler to generate binaries from your Fortran sources.
- DJGPP GNU G77 (Fortran 77) for MSDOS
This is a development system based on the well-known GNU compiler system that includes compilers for Fortran 77, C, C++, Objective C, etc. It generates 32 bit MSDOS executables that is Windows 95 long-filename-aware. It is a very complete system with IDEs, graphics libraries, lexical analyser generators (flex), parser generators (bison), text processing utilities (like grep, sed), a program maintainence utility (ie, make), a DOS extender, and so on. The compiler, utilities and libraries come with source code.
Related Pages
- How to Register Your Own Domain Name
- Free Version Control (Revision Control) Software
- Free Programming Language Grammars - create your own compiler
- Create Your Own Mailing List to discuss your software development - no CGI needed
- Create a customized feedback form for your website (free)
- Is it Possible to Create a Website Without Buying a Domain Name? The High Price of "Free".
- Can you register a domain name directly with ICANN instead of through a middleman?
- Should You Choose a Linux or a Windows Web Hosting Package? Is There Such a Thing as a Mac Web Host?
Newest Pages
- How to Give Alternate Table Rows a Different Colour (HTML/CSS)
- Free EPUB Readers (Ebook Viewing Software)
- How to Generate the Free Let's Encrypt SSL Certificate on Your Own (Windows) Computer
- How to Insert Meta Tags into a Web Page with BlueGriffon
- How to Play a Song (or Some Other Audio Clip) from a List on a Website
- Two Ways to View a Binary File on Windows Without Installing Anything
- How to Draw a Horizontal Line on a Web Page with Expression Web
- How to Create a Website Free of Charge
- Why Can't I Make Up Any Domain I Want? Is There a Way to Do Away with a Registrar Altogether?
- What's the Difference Between a Domain Name Registrar and a Web Host?
Popular Pages
- How to Create/Make Your Own Website: The Beginner's A-Z Guide
- How to Register Your Own Domain Name - how to get your own domain name
- What's the Difference Between a Content Management System (CMS), a Blog, a Web Editor and an Online Site Builder?
- Expression Web Tutorial: How to Design a Website with Microsoft Expression Web
- Dreamweaver Tutorial: How to Design a Website with Dreamweaver CS6
- How to Make a Mobile-Friendly Website: Responsive Design in CSS
- BlueGriffon Tutorial: How to Design a Website with BlueGriffon 3
- How to Create a Blog
- Free CD and DVD Burners and Copying Software
- Free Hard Disk Backup and Restore, Hard Disk Image and Cloning Utilities
How to Link to This Page
It will appear on your page as:
