mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-07 15:37:05 +08:00
for modern Fortran. (LT_LANG, _LT_LANG_DEFAULT_CONFIG, _LT_SYS_DYNAMIC_LINKER, _LT_SYS_HIDDEN_LIBDEPS): Adjusted. * tests/fcdemo-conf.test, tests/fcdemo-exec.test, tests/fcdemo-make.test, tests/fcdemo-shared.test, tests/fcdemo-static.test, tests/fcdemo/Makefile.am, tests/fcdemo/README, tests/fcdemo/configure.ac, tests/fcdemo/cprogram.c, tests/fcdemo/foo.h, tests/fcdemo/fooc.c, tests/fcdemo/foof.f90, tests/fcdemo/foof2.f90, tests/fcdemo/foof3.f90, tests/fcdemo/fprogram.f90: New tests for Fortran. * tests/convenience.at: Extended. * Makefile.am, configure.ac: Adjusted. * NEWS: Updated. |
||
---|---|---|
.. | ||
.cvsignore | ||
configure.ac | ||
cprogram.c | ||
foo.h | ||
fooc.c | ||
foof2.f90 | ||
foof3.f90 | ||
foof.f90 | ||
fprogram.f90 | ||
Makefile.am | ||
README |
This is a short demo of the fortran support in libtool. fprogram is a pure-fortran program which is linked against the fortran-only library libfoo.la cprogram is a C program, which is linked against the mixed C and fortran library libmix.la. The program calls a C function, which in turn calls a fortran function. This demo requires GNU autoconf, automake, libtool with the FC tag and quite obvious Fortran.