The back end and libraries are now up for general testing on a variety of boxes and operating systems. The tarball is usually updated as the web page is. To download and install g95 on unix systems, run the following command (originally from Joost Vandevondele):

wget -O - http://ftp.g95.org/g95-x86-
linux.tgz | tar xvfz -

This will create a directory named 'g95-install' in the current directory. Run (or better yet make an appropriate symbolic link to) ./g95-
install/bin/i686-pc-linux-gnu-
g95 in order to run g95.

Quick Links


Manual Translations

G95 Source Code (17 Jan 2013) HTTP FTP
G95 Manual (PDF) (06 Nov 2008) HTTP
G95 Manual Sources (TeX) (06 Nov 2008) HTTP
G95 Manual (PDF) Czech (17 May 2007) HTTP
G95 Manual Sources (TeX) Czech (17 May 2007) HTTP
G95 Manual (PDF) German (18 Apr 2007) HTTP
G95 Manual Sources (TeX) German (18 Apr 2007) HTTP
G95 Manual (PDF) Japanese (07 Feb 2008) HTTP
G95 Manual Sources (TeX) Japanese (07 Feb 2008) HTTP
G95 Manual (PDF) French (05 Nov 2008) HTTP
G95 Manual Sources (TeX) French (05 Nov 2008) HTTP
G95 Manual (PDF) Spanish (29 Nov 2006) HTTP
G95 Manual Sources (TeX) Spanish (29 Nov 2006) HTTP
G95 Manual (PDF) Russian (16 Jul 2007) HTTP
G95 Manual Sources (TeX) Russian (16 Jul 2007) HTTP

G95 Binaries
(Current Snapshot)

Linux x86 (17 Jan 2013) HTTP FTP
Linux x86-64 (32 bit DI) (17 Jan 2013) HTTP FTP
Linux x86-64 (64 bit DI) (17 Jan 2013) HTTP FTP
Linux x86 (Debian) (17 Jan 2013) HTTP FTP
Linux x86-64 (Debian) (16 Jun 2010) HTTP FTP
Self-extracting Windows x86 (31 Dec 1969) HTTP FTP
Cygwin x86 tarball (16 Jun 2010) HTTP FTP
Extract in the root directory
Self-extracting Cygwin x86 (31 Dec 1969) HTTP FTP
Self-extracting Windows x86 (gcc 4.1, experimental) (31 Dec 1969) HTTP FTP
Cygwin x86 tarball (gcc 4.1, experimental) (24 Jun 2009) HTTP FTP
Extract in the root directory
Self-extracting Cygwin x86 (gcc 4.1, experimental) (31 Dec 1969) HTTP FTP
x86 OSX (17 Jan 2013) HTTP FTP
Powerpc OSX (14 Jan 2013) HTTP FTP
Powerpc OSX Fink Package HTTP
Linker problems under OSX usually mean a new cctools. is required.
FreeBSD x86 (17 Jan 2013) HTTP FTP
FreeBSD x86-64 (64 bit D.I.) (17 Jan 2013) HTTP FTP
FreeBSD x86-64 (32 bit D.I.) (17 Jan 2013) HTTP FTP
Sparc Solaris (17 Jan 2013) HTTP FTP
X86 Solaris (17 Jan 2013) HTTP FTP
HP-UX 11 (18 Aug 2010) HTTP FTP
Linux PowerPC (64 bit D.I.) (18 Aug 2010) HTTP FTP
Default integer of 64 bits, may break older programs
Linux PowerPC (32 bit D.I.) (18 Aug 2010) HTTP FTP
Default integer of 32 bits, compatible with older programs
Linux IA64 (32 bit D.I.) (17 Jan 2013) HTTP FTP
Default integer of 32 bits, compatible with older programs
Linux IA64 (64 bit D.I.) (17 Jan 2013) HTTP FTP
Default integer of 64 bits, may break older programs
IA64 builds require libc 2.3 or greater
Linux x86_64/EMT64 (32 bit D.I.) (17 Jan 2013) HTTP FTP
Default integer of 32 bits, compatible with older programs
Linux x86_64/EMT64 (64 bit D.I.) (17 Jan 2013) HTTP FTP
Default integer of 64 bits, may break older programs
Linux Alpha (32 bit D.I.) (14 Jan 2013) HTTP FTP
Default integer of 32 bits, compatible with older programs
Linux Alpha (64 bit D.I.) (14 Jan 2013) HTTP FTP
Default integer of 64 bits, may break older programs
Irix MIPS (17 Jan 2013) HTTP FTP
AIX Powerpc (24 Jun 2009) HTTP FTP
RPM .spec file for g95 (05 Feb 2007) HTTP FTP

G95 Binaries and Source
(Stable version 0.93, October 2012)

G95 Source Code HTTP FTP  
Linux x86 HTTP FTP  
Self-extracting Windows x86 HTTP FTP  
Self-extracting Windows x86 (gcc 4.1, experimental) HTTP FTP  
Cygwin x86 (gcc 4.0) HTTP FTP  
Cygwin x86 (gcc 4.1, experimental) HTTP FTP  
Self-extracting Cygwin x86 (gcc 4.0) HTTP FTP  
Self-extracting Cygwin x86 (gcc 4.1, experimental) HTTP FTP  
Debian x86 HTTP FTP  
Debian x86-64 HTTP FTP  
x86 OSX HTTP FTP  
Powerpc OSX HTTP FTP  
FreeBSD x86 HTTP FTP  
Sparc Solaris HTTP FTP  
HP-UX 11 HTTP FTP  
Linux PowerPC (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux PowerPC (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux Alpha (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux Alpha (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux x86_64/EMT64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux x86_64/EMT64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Irix MIPS HTTP FTP  
Solaris x86 HTTP FTP  
AIX Powerpc HTTP FTP  

G95 Binaries and Source
(Stable version 0.92, June 2009)

G95 Source Code HTTP FTP  
Linux x86 HTTP FTP  
Self-extracting Windows x86 HTTP FTP  
Self-extracting Windows x86 (gcc 4.1, experimental) HTTP FTP  
Cygwin x86 (gcc 4.0) HTTP FTP  
Cygwin x86 (gcc 4.1, experimental) HTTP FTP  
Self-extracting Cygwin x86 (gcc 4.0) HTTP FTP  
Self-extracting Cygwin x86 (gcc 4.1, experimental) HTTP FTP  
Debian x86 HTTP FTP  
Debian x86-64 HTTP FTP  
x86 OSX HTTP FTP  
Powerpc OSX HTTP FTP  
FreeBSD x86 HTTP FTP  
Sparc Solaris HTTP FTP  
HP-UX 11 HTTP FTP  
Linux PowerPC (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux PowerPC (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux Alpha (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux Alpha (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux x86_64/EMT64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux x86_64/EMT64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Irix MIPS HTTP FTP  
Solaris x86 HTTP FTP  
AIX Powerpc HTTP FTP  

G95 Binaries and Source
(Stable version 0.91, March 2008)

G95 Source Code HTTP FTP  
Linux x86 HTTP FTP  
Self-extracting Windows x86 HTTP FTP  
Cygwin x86 tarball HTTP FTP Extract in the root directory
Self-extracting Cygwin x86 HTTP FTP  
Self-extracting Windows x86 (gcc 4.1, experimental) HTTP FTP  
Cygwin x86 tarball (gcc 4.1, experimental) HTTP FTP Extract in the root directory
Self-extracting Cygwin x86 (gcc 4.1, experimental) HTTP FTP  
x86 OSX HTTP FTP  
Powerpc OSX HTTP FTP  
FreeBSD x86 HTTP FTP  
X86 NetBSD NetBSD g95 package    
Sparc Solaris HTTP FTP  
HP-UX 11 HTTP FTP  
Linux PowerPC (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux PowerPC (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
IA64 builds require libc 2.3 or greater
Linux x86_64/EMT64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux x86_64/EMT64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Irix MIPS HTTP FTP  
AIX Powerpc HTTP FTP  

G95 Binaries and Source
(Stable Version 0.9, August 2006)

G95 Source Code HTTP FTP  
Linux x86 HTTP FTP  
Self-extracting Windows x86 HTTP FTP  
Cygwin x86 tarball HTTP FTP Extract in the root directory
Self-extracting Cygwin x86 HTTP FTP  
Self-extracting Windows x86 (gcc 4.1, experimental) HTTP FTP  
Cygwin x86 tarball (gcc 4.1, experimental) HTTP FTP Extract in the root directory
Self-extracting Cygwin x86 (gcc 4.1, experimental) HTTP FTP  
x86 OSX HTTP FTP  
X86 NetBSD HTTP FTP  
Powerpc OSX HTTP FTP  
Powerpc OSX Fink Package HTTP    
Linker problems under OSX usually mean a new cctools. is required.
FreeBSD x86 HTTP FTP  
Sparc Solaris HTTP FTP  
HP-UX 11 HTTP FTP  
Linux PowerPC (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux PowerPC (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux IA64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
IA64 builds require libc 2.3 or greater
Linux x86_64/EMT64 (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux x86_64/EMT64 (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Linux Alpha (32 bit D.I.) HTTP FTP Default integer of 32 bits, compatible with older programs
Linux Alpha (64 bit D.I.) HTTP FTP Default integer of 64 bits, may break older programs
Irix MIPS HTTP FTP  
AIX Powerpc HTTP FTP  
X86 OpenBSD HTTP FTP  
X86 NetBSD NetBSD g95 package

Windows

Five different g95 packages are currently available for Windows systems. Below the features of each package are summarized, so users can select the most appropriate g95 package for their needs.

g95-MinGW.exe

  • Currently the most popular version of g95!
  • Self-extracting installer
  • Works on Windows Vista/XP/2000/ME/98/95
  • Recommended version for new users
  • Use a CMD or DOS window, g95 is a command-line compiler
  • Sets the LIBRARY_PATH environment variable
  • Built against gcc-4.0.3
  • Installs all files needed to compile programs for Windows
  • Optionally installs g95 in an existing MinGW/Msys filesystem
  • MinGW/Msys offer unix-style tools such as make, gdb
  • MinGW provides gcc
  • Download from: http://ftp.g95.org/g95-MinGW.exe

g95-MinGW-41.exe

  • This build is similar to the g95-MinGW.exe package
  • Sets the G95_LIBRARY_PATH environment variable
  • Built against gcc-4.1.2
  • Will not interfere with gcc and gfortran
  • Self-extracting installer
  • Works on Windows Vista/XP/2000
  • Use a CMD or DOS window, g95 is a command-line compiler
  • Installs all files needed to compile programs for Windows
  • Optionally installs g95 in an existing MinGW/Msys filesystem
  • MinGW/Msys offer unix-style tools such as make, gdb
  • MinGW provides gcc
  • Download from: http://ftp.g95.org/g95-MinGW-41.exe

g95-x86-cygwin.tgz

  • For compiling in a Cygwin environment
  • Requires a recent version of Cygwin to be installed
  • Requires the Cygwin binutils and mingw-runtime packages to be installed
  • Works in a Cygwin bash shell
  • Cygwin offers many unix-style tools such as make, gdb, emacs
  • Cygwin provides gcc
  • Download from: http://ftp.g95.org/g95-x86-cygwin.tgz
  • Save in the root Cygwin directory
  • Install with: tar -xvzf g95-x86-cygwin.tgz
  • Installs to /usr/local, docs in /usr/local/doc/g95
  • The -mno-cygwin option is supported for compiling programs that are independent of cygwin1.dll
  • Support is provided for compiling and linking to dlls with g95

g95-Cygwin.exe

  • Intended for systems without Cygwin
  • Built against gcc-4.0.3
  • Self-extracting installer
  • Works on Windows XP/2000/ME/98/95
  • Contains all files necessary to compile programs
  • Includes a copy of cygwin1.dll
  • Executables need access to cygwin1.dll in user's PATH to run
  • Download from: http://ftp.g95.org/g95-Cygwin.exe
  • Expect this version to be discontinued in the future

g95-Cygwin-41.exe

  • This build is similar to the g95-Cygwin.exe package
  • Intended for systems without Cygwin
  • Built against gcc-4.1.2
  • Self-extracting installer
  • Works on Windows XP/2000/ME/98/95
  • Contains all files necessary to compile programs
  • Includes a copy of cygwin1.dll
  • Executables need access to cygwin1.dll in user's PATH to run
  • Download from: http://ftp.g95.org/g95-Cygwin-41.exe