diff options
| author | kortschak <dan.kortschak@adelaide.edu.au> | 2016-02-18 21:19:03 +1030 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2016-02-24 15:06:38 +0000 |
| commit | 50c38d46e870435c17ac86957e2eb469ce41dd6d (patch) | |
| tree | c60ced4f689287c4db2fc2c7231bb4bb68a79a4b /src/database/sql | |
| parent | 6e6637bdb478e98d32dd10659ea1975a00aeda0a (diff) | |
| download | go-50c38d46e870435c17ac86957e2eb469ce41dd6d.tar.xz | |
cmd/go, go/build: add support for Fortran
This change adds support for Fortran files (.f, .F, .for, .f90) to the
go tool, in a similar fashion to Objective-C/C++. Only gfortran is
supported out of the box so far but leaves other Fortran compiler
toolchains the ability to pass the correct link options via CGO_LDFLAGS.
A simple test (misc/cgo/fortran) has been added and plugged into the
general test infrastructure. This test is only enabled when the $FC
environment variable is defined (or if 'gfortran' was found in $PATH.)
Derived from CL 4114.
Change-Id: Ifc855091942f95c6e9b17d91c17ceb4eee376408
Reviewed-on: https://go-review.googlesource.com/19670
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
