mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
baf8599e6f
* NEWS: Update. * libltdl/argz.c: Do not include strings.h nor memory.h, include string.h unconditionally. Patch by Simon Josefsson <jas@extundo.com>. * libltdl/libltdl/lt__private.h: Likewise. * libltdl/m4/ltdl.m4 (LTDL_INIT): Do not check for string.h, strings.h, memory.h. * tests/cdemo/configure.ac: Assume presence of math.h. * tests/cdemo/foo.c: Likewise. * tests/demo/configure.ac: Likewise for math.h, string.h. Assume 'const'. Drop obsolete AC_EXEEXT. * tests/demo/dlmain.c: Likewise. * tests/demo/foo.c: Likewise. * tests/depdemo/configure.ac: Likewise. * tests/depdemo/l4/l4.c: Likewise. * tests/f77demo/configure.ac: Likewise. Also drop obsolete AC_OBJEXT. * tests/fcdemo/configure.ac: Likewise. * tests/mdemo/configure.ac: Likewise. * tests/mdemo/foo1.c: Likewise. * tests/mdemo/foo2.c: Likewise. * tests/mdemo2/configure.ac: Likewise. * tests/pdemo/configure.ac: Likewise. * tests/pdemo/longer_file_name_dlmain.c: * tests/pdemo/longer_file_name_foo.c: Likewise. * tests/pdemo/longer_file_name_foo2.c: Likewise. * tests/tagdemo/configure.ac: Likewise. * tests/tagdemo/foo.cpp: Likewise. |
||
---|---|---|
.. | ||
.cvsignore | ||
configure.ac | ||
cprogram.c | ||
foo.h | ||
fooc.c | ||
foof2.f | ||
foof3.f | ||
foof.f | ||
fprogram.f | ||
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 F77 tag and quite obvious Fortran 77.