libtool/tests/fcdemo
George Bosilca 8a17ccd68d Make libltdl work when compiled with a C++ compiler.
* libltdl/lt__alloc.c, libltdl/lt_dlloader.c, libltdl/ltdl.c,
libltdl/slist.c, libltdl/libltdl/lt__alloc.h,
libltdl/libltdl/lt_error.h, libltdl/libltdl/slist.h,
libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
libltdl/loaders/shl_load.c, tests/stresstest.at,
tests/testsuite.at, tests/f77demo/foo.h, tests/fcdemo/foo.h,
tests/mdemo/foo.h, tests/mdemo/foo1.c, tests/mdemo/foo2.c,
tests/mdemo/main.c: Allow sources to be compiled by a C++
compiler: Cast appropriately, add C linkage for `get_vtable'
functions, do not use C++ keyword `delete'.
2006-09-04 17:27:27 +00:00
..
.cvsignore
configure.ac Reorganise the libtool tree to create a bootstrapped libltdl for 2005-08-23 01:49:37 +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
foof3.f90
foof.f90
fprogram.f90
Makefile.am * tests/cdemo/Makefile.am: Remove broken use of undocumented 2006-02-03 09:37:04 +00:00
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.