libtool/tests/f77demo
Peter O'Gorman f0cb3767cf Our fortran tests were not very good. All the libraries created
were convenience libs, so we did not test the creation of shared
libraries on any platform. Also none of the libs used any actual
fortran library calls, adding a call to write(*,*) in each lib
causes the tests to fail on darwin (and presumably other platforms).
These new tests would likely cause many more fortran test failures,
so if there is an error during make it is reported as SKIP.

* tests/f77demo-make.test: Don't fail hard, skip on failure.
* tests/f77demo/foof2.f: New file.
* tests/f77demo/foof3.f: New file.
* tests/f77demo/fprogram.f: Call routine in new lib.
* tests/f77demo/foof.f: Call routine in another new lib.
* tests/f77demo/Makefile.am: Make a couple of new libraries, add
$(FLIBS) to cprogram LDADD.
2004-09-12 13:36:17 +00:00
..
.cvsignore spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00
configure.ac Further sweeping changes to the user interface to libtool from 2004-03-21 16:05:28 +00:00
cprogram.c spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00
foo.h spurious commit abort earlier :-( 2003-10-14 21:46:13 +00:00
fooc.c spurious commit abort earlier :-( 2003-10-14 21:46:13 +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 Our fortran tests were not very good. All the libraries created 2004-09-12 13:36:17 +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.