mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
f0cb3767cf
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. |
||
---|---|---|
.. | ||
.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.