cfortran - Header file permitting Fortran routines to be called in C/C++

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main i386
Package name cfortran
Package version 4.4
Package release 14
Package architecture all
Package type deb
Installed size 892 B
Download size 129.10 KB
Official Mirror
cfortran.h is an easy-to-use powerful bridge between C and FORTRAN.
It provides a completely transparent, machine independent interface between
C and FORTRAN routines (= subroutines and/or functions) and global data,
i.e. structures and COMMON blocks.


Package Version Architecture Repository
cfortran_4.4-14_all.deb 4.4 all Debian Main
cfortran - - -


Name Value
libcfitsio-dev << 2.440-1


Type URL
Binary Package cfortran_4.4-14_all.deb
Source Package cfortran

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install cfortran deb package:
    # sudo apt-get install cfortran




2009-10-14 -  Bastien ROUCARIÈS <>
cfortran (4.4-14) unstable; urgency=low
*  Add license text to cfortran.h (Closes: #507429).
*  Warm if user does not use -D flags as documented in README.debian 
(Closes: #497023).
*  New maintainer (Closes: #508500).
*  Bump policy version.
2008-08-26 - Kevin B. McCarty <>
cfortran (4.4-13) unstable; urgency=low
* Bump Standards-Version to 3.8.0 (no changes).
* Make the default behavior on CYGWIN, Linux (with gcc) and OS X be to
assume gfortran (rather than g77/f2c) if the FORTRAN compiler has
otherwise been left unspecified.  Thanks Davide Mancusi for the prod.
* Fix a buffer overrun bug found by Jean-Guillaume Piccinali in one of
the example programs (fd/fd.c).  (Closes: #489886.)
2008-05-14 - Kevin B. McCarty <>
cfortran (4.4-12) unstable; urgency=low
* Bump Standards-Version to 3.7.3 (no changes).
* Restore commented-out "extern" in COMMON_BLOCK_DEF() macro, by
request of Jacek Holeczek <>.
N.B. This will cause "paw" source package to FTBFS due to a
Debian-specific patch to paw, so I will upload a fix for that shortly.
* Add {} around lone ";" in three empty "while" bodies to get rid of
spurious compiler warnings with recent gcc.  Thanks to Rene Brun
* Change package recommends from g77 to gfortran.
* Add README.Debian to mention that most people using gfortran will want
to use -DgFortran (those using g77 will want to keep using -Dg77Fortran
or -Df2cFortran) and to discuss the differences.
2006-11-27 - Kevin B. McCarty <>
cfortran (4.4-11) unstable; urgency=low
* Bump Standards-Version to 3.7.2 (no changes).
* Build-Depends: debhelper (instead of Build-Depends-Indep) to fix
Lintian error.
2006-04-05 - Kevin B. McCarty <>
cfortran (4.4-10) unstable; urgency=low
* Add modifications so that gfortran (and g77 with -fno-f2c flag) are
supported when the C/C++ compiler is invoked with flag -DgFortran
(or gFortran is otherwise #define'd).  Possibly at some later time when
gfortran is the default FORTRAN compiler on Debian, this will be made
the default.  Thanks to William Pence <>
for bringing up the issue.  Mentioned in debian/NEWS.
* Add modifications by William Pence to define a LONGLONG type more
* Bump debian/compat to 5.
2005-12-23 - Kevin B. McCarty <>
cfortran (4.4-9) unstable; urgency=low
* Add modifications from Martin Reinecke <martin@MPA-Garching.MPG.DE>
for partial INTEGER*8 (long long) support.
* Not updating the documentation yet as the cfitsio team has requested
to leave this feature undocumented for now.
2005-12-09 - Kevin B. McCarty <>
cfortran (4.4-8) unstable; urgency=low
* cfortran.h: Improved to enforce the fact that f2c and g77 generate code
from FORTRAN REAL functions that returns a C "double".  This should fix
runtime code breakage on some platforms such as AMD64.  See NEWS.Debian
for more information.
* cfortran.doc and cfortran.html: updated to reflect the change.
2005-11-22 - Kevin B. McCarty <>
cfortran (4.4-7) unstable; urgency=low
* Update FSF address in debian/copyright.
* Update maintainer email in debian/control and debian/copyright.
* Update debhelper compatibility to version 4.
* Update Standards-Version to 3.6.2 (no changes).
* Clean up debian/rules a bit.
* Unpack cfortran.examples.tar.gz into /usr/share/doc/cfortran/examples
to make it easier to explore (removing unneeded symlinks *.C -> *.c).
2004-12-10 - Kevin B. McCarty <>
cfortran (4.4-6) unstable; urgency=medium
* Recommend "gcc | c-compiler" and "g77 | fortran-compiler" instead of
just the virtual packages.  This avoids the situation of a person
naively installing cfortran with aptitude and ending up with some
random little-known compilers.

See Also

Package Description
cfourcc_0.1.2-9_i386.deb command line tool for changing FourCC in Microsoft RIFF AVI files
cfv_1.18.3-2_all.deb versatile file checksum creator and verifier
cgdb_0.6.7-2_i386.deb curses-based interface to the GNU Debugger (GDB)
cgi-mapserver_6.4.1-5+deb8u3_i386.deb CGI executable for MapServer
cgilib_0.6-1_i386.deb Simple CGI Library
cgit_0.10.2.git2.0.1-3+deb8u1_i386.deb hyperfast web frontend for git repositories written in C
cgmanager-tests_0.33-2+deb8u2_all.deb Central cgroup manager daemon (tests)
cgmanager_0.33-2+deb8u2_i386.deb Central cgroup manager daemon
cgminer_4.7.0-2_i386.deb multi-threaded multi-pool Bitcoin miner
cgns-convert_3.1.4.2-2+b1_i386.deb CFD General Notation System - Conversion tools
cgoban_1.9.14-17_i386.deb complete Go board
cgpt_0~20121212-3_i386.deb GPT manipulation tool with support for Chromium OS extensions
cgroup-bin_0.41-6_all.deb control and monitor control groups (transitional package)
cgroup-tools_0.41-6_i386.deb control and monitor control groups (tools)
cgroupfs-mount_1.1_all.deb Light-weight package to set up cgroupfs mounts