libtool/f77demo
Charles Wilson 6da15e03aa * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not
echo. (AC_DEPLIBS_CHECK_METHOD): use new shell function
win32_libid on w32 platforms
* ltmain.in: add new section for shell functions. Add
win32_libid() shell function.
* f77demo/Makefile.am: add -no-undefined flag


* ltdl.c (realloc): Remove custom realloc. (#define
rpl_realloc realloc) and comment out later code for custom
realloc. You can't define your own malloc unless you know
enough about the malloc in use to be able to tell how big
the src ptr is. The disabled code incorrectly used the
*destination* ptr to decide how much to copy. This
sometimes results in out-of-bound accesses which cause
segfaults. This is a quick hack for now; we may want
something cleaner later. (tryall_dlopen_module): check to
be sure (dirname_len > 0) before testing first character
against '/'. (try_dlopen): check for feof(file) in read
loop -- otherwise infloop?
2002-10-31 00:52:39 +00:00
..
.cvsignore New File. 2002-07-31 20:35:06 +00:00
configure.ac * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +00:00
cprogram.c * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +00:00
foo.h * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +00:00
fooc.c * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +00:00
foof.f * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +00:00
fprogram.f * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +00:00
Makefile.am * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not 2002-10-31 00:52:39 +00:00
README * libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 2002-07-31 20:15:28 +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.