On 28/08/12 16:54, Mathieu Malaterre wrote: > On Tue, Aug 28, 2012 at 5:53 PM, Mathieu Malaterre <ma...@debian.org> wrote: >> At least from cmake point of view, a user need to provide an env var >> 'FC' for the fortran compiler and sets 'FLAGS'. > > Missing one 'F', it should read 'FFLAGS'
Unfortunately, this isn't fully compatible with what Autoconf does (see "info autoconf 'Fortran Compiler Characteristics'"). Autoconf distinguishes between F77 and "modern Fortran" (whatever that means), and cmake seems to have taken one variable name from each set. Autoconf 2.69 in sid documents support for: C | CPP | CC | CFLAGS | LIBS C++ | CXXCPP | CXX[1] | CXXFLAGS | LIBS F77 | | F77 | FFLAGS | FLIBS modern Fortran | | FC | FCFLAGS | FCLIBS Objective C | OBJCPP | OBJC | OBJCFLAGS | LIBS (?) Objective C++ | OBJCXXCPP | OBJCXX | OBJCXXFLAGS | LIBS (?) Erlang | | ERLC | ERLCFLAGS | Go | | GOC | GOFLAGS | The GNU Coding Standards mention CC, CFLAGS, CPPFLAGS and LDFLAGS; the rest are from Autoconf. [1] also looks in $CCC if $CXX is unset S -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503dcc14.8040...@debian.org