libtool/tests/f77demo
Ralf Wildenhues baf8599e6f Assume C89 for included headers, and throughout the testsuite.
* 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.
2007-01-27 16:45:40 +00:00
..
.cvsignore spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00
configure.ac Assume C89 for included headers, and throughout the testsuite. 2007-01-27 16:45:40 +00:00
cprogram.c Drop K&R support from testsuite in favor of C89. 2006-09-01 16:19:56 +00:00
foo.h Make libltdl work when compiled with a C++ compiler. 2006-09-04 17:27:27 +00:00
fooc.c * tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/cprogram.c, 2005-04-27 14:15:29 +00:00
foof2.f Our fortran tests were not very good. All the libraries created 2004-09-12 13:36:17 +00:00
foof3.f Our fortran tests were not very good. All the libraries created 2004-09-12 13:36:17 +00:00
foof.f Our fortran tests were not very good. All the libraries created 2004-09-12 13:36:17 +00:00
fprogram.f Our fortran tests were not very good. All the libraries created 2004-09-12 13:36:17 +00:00
Makefile.am * tests/cdemo/Makefile.am: Remove broken use of undocumented 2006-02-03 09:37:04 +00:00
README spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00

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.