mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-09 06:40:24 +08:00
2a0c045721
* configure.ac: Fix misapplied patch in last commit * libtool.m4 (darwin): Check compiler is apple gcc, add -single_module support so that dyloading c++ shared libraries will work. * libtool.m4 (_LT_AC_TAGCONFIG): Add test -n to the tests so that it will work outside of libtool. * doc/PLATFORMS: Add darwin * f77demo/configure.ac: Add config.h which was misapplied previously. |
||
---|---|---|
.. | ||
.cvsignore | ||
configure.ac | ||
cprogram.c | ||
foo.h | ||
fooc.c | ||
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.