libtool/tests/fcdemo
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 * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros 2005-08-08 09:23:57 +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 Drop K&R support from testsuite in favor of C89. 2006-09-01 16:19:56 +00:00
foof2.f90 * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros 2005-08-08 09:23:57 +00:00
foof3.f90 * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros 2005-08-08 09:23:57 +00:00
foof.f90 * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros 2005-08-08 09:23:57 +00:00
fprogram.f90 * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros 2005-08-08 09:23:57 +00:00
Makefile.am * tests/cdemo/Makefile.am: Remove broken use of undocumented 2006-02-03 09:37:04 +00:00
README * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros 2005-08-08 09:23:57 +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 FC tag and quite obvious Fortran.